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 3708

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

4 votes
Accepted

testing fallback function with truffle js

Make the fallback function: function () public { // dont receive ether via fallback method (by not having 'payable' modifier on this function). } See OpenZeppelin examples: https://github.com/Op …
Svante's user avatar
  • 450
2 votes
1 answer
1k views

Fix MetaMask gas price estimate on Ropsten

Update: For some reason, just redeploying with truffle migrate --network ropsten --compile-all fixed the issue, and MetaMask now suggests Gwei. … After deleting build/contracts dir, I deployed my Smart Contract to Ropsten with: truffle migrate --network ropsten --reset --compile-all and the following in truffle.js config: networks: { [...] …
Svante's user avatar
  • 450