-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VRF-1134: Adjust BHS test to run on chains where txs needed for block…
…… (#13819) * VRF-1134: Adjust BHS test to run on chains where txs needed for blocks to be generated * VRF-1134: fixing tests
- Loading branch information
1 parent
9a6fef7
commit 1dd4df7
Showing
21 changed files
with
911 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
contract Counter { | ||
error AlwaysRevert(); | ||
|
||
uint256 public count = 0; | ||
|
||
function increment() public returns (uint256) { | ||
count += 1; | ||
return count; | ||
} | ||
|
||
function reset() public { | ||
count = 0; | ||
} | ||
|
||
function alwaysRevert() public pure { | ||
revert AlwaysRevert(); | ||
} | ||
|
||
function alwaysRevertWithString() public pure { | ||
revert("always revert"); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.