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 69886
2 votes
1 answer
645 views

TDD Solidity: expect internal struct state

I'm a big fan of TDD/BDD so I figured hardhat and chai/waffle are a good start to learning smart contract development. …
TommyF's user avatar
  • 152
1 vote
1 answer
1k views

Hardhat/Waffle/Chai : Display Revert Reason?

testing a simple call and expect it to not revert await expect(swapCall).to.not.be.reverted The test fails currently and I get a AssertionError: Expected transaction NOT to be reverted How do I get hardhat
TommyF's user avatar
  • 152