Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): making tests type-safe #318

Merged
merged 26 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
791f33b
making fixtures type-safe
RogerLamTd Nov 22, 2022
a6720e3
Merge branch 'main' into testcleanup
RogerLamTd Nov 22, 2022
854deec
linting
RogerLamTd Nov 22, 2022
f44f86c
fix libsend tests
RogerLamTd Nov 22, 2022
ec70788
Merge branch 'main' into testcleanup
cyberhorsey Nov 23, 2022
2552093
added missing test case LibBridgeRetry
RogerLamTd Nov 24, 2022
1496808
retryMessage tests attempt
RogerLamTd Nov 26, 2022
1d32e2d
Merge branch 'main' into testcleanup
RogerLamTd Nov 26, 2022
0bf5fdd
retriable message
cyberhorsey Nov 28, 2022
d6a1ff8
added setup for testing isSignalReceived()
RogerLamTd Nov 29, 2022
8e5c594
fix
RogerLamTd Nov 30, 2022
085094b
Merge branch 'main' into testcleanup
RogerLamTd Dec 1, 2022
d3b9678
lint
cyberhorsey Dec 2, 2022
78d9e8b
switched isSignalReceived test to l1 so eth_getProof is supported
RogerLamTd Dec 5, 2022
731aab2
Merge branch 'main' into testcleanup
RogerLamTd Dec 5, 2022
80098c7
fix isSignalReceived() test
RogerLamTd Dec 5, 2022
f4a8681
fix isSignalReceived() test
RogerLamTd Dec 5, 2022
6049e3b
Update LibConstants.sol
dantaik Dec 6, 2022
714cdbc
format
dantaik Dec 6, 2022
86f0adf
finished isSignalReceived tests
RogerLamTd Dec 6, 2022
bb853a7
Merge branch 'main' into testcleanup
cyberhorsey Dec 6, 2022
103ee00
migrated repeated code to fixtures and util functions
RogerLamTd Dec 6, 2022
294254a
Merge branch 'main' into testcleanup
dantaik Dec 7, 2022
9d13030
switching eth_getProof parameter to block.number from block.hash
RogerLamTd Dec 7, 2022
c855569
Merge branch 'testcleanup' of https://github.com/taikochain/taiko-mon…
RogerLamTd Dec 7, 2022
371aee3
rename var
RogerLamTd Dec 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ library LibBridgeProcess {
uint256 gasLimit = msg.sender == message.owner
? gasleft()
: message.gasLimit;

bool success = LibBridgeInvoke.invokeMessageCall({
state: state,
message: message,
Expand Down
1 change: 0 additions & 1 deletion packages/protocol/contracts/libs/LibConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ library LibConstants {
// This number is calculated from K_MAX_NUM_BLOCKS to make
// the 'the maximum value of the multiplier' close to 20.0
uint256 public constant K_ZKPROOFS_PER_BLOCK = 1;
uint256 public constant K_VERIFICATION_DELAY = 60 minutes;
RogerLamTd marked this conversation as resolved.
Show resolved Hide resolved
uint256 public constant K_MAX_VERIFICATIONS_PER_TX = 20;
uint256 public constant K_COMMIT_DELAY_CONFIRMS = 4;
uint256 public constant K_MAX_PROOFS_PER_FORK_CHOICE = 5;
Expand Down
Loading