Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 79512

Questions regarding the implementation and use of the Truffle development and testing environment.

0 votes

why there are differences in web3 when using truffle and when used in the browser?

In short, truffle does some abstraction where it abstracts the complexity needed to interact with contracts and provides simple ways to call contracts, check logs, etc. … You can check more information here: https://trufflesuite.com/docs/truffle/getting-started/interacting-with-your-contracts/#introducing-abstractions …
Yamen Merhi's user avatar
8 votes

Hardhat Test returns transaction instead of return value

To get the return value you should add callStatic to it. > const shareTokenAddress = await liqminter.connect(actorA).callStatic.createPair([...]) callStatic is a read-only operation and will not co …
Yamen Merhi's user avatar