-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Fix integration test #82
feat: Fix integration test #82
Conversation
- Needs to fix errors in tests related to the new Generic Data Type
* Fix system tests * Fix contracts tests for validium mode * Update comment * Fix custom-erc20-bridge test * Revert "Fix custom-erc20-bridge test" This reverts commit f2e9978. * Fix web3 test * Add check validium mode in system test * Format
…ods from L1BatchWithMetadata as they're now part of the L1BatchCommitter trait and utils in the case of construct_pubdata
…mmitOperation construction and DatasizeCriterion::last_l1_batch_to_publish usage
…_publish parameter (only used by DataSizeCriterion)
…tter::l1_commit_data function
…l1_commit_data function
…ter depending on the VALIDIUM_MODE env value
…class/zksync-era into feat_validium_pubdata_abstraction
* Fix System test for rollup mode * Update core/tests/ts-integration/tests/system.test.ts senderNonce Co-authored-by: Antonio Calvín García <[email protected]> * Update core/tests/ts-integration/tests/system.test.ts nonce Co-authored-by: Antonio Calvín García <[email protected]> --------- Co-authored-by: Antonio Calvín García <[email protected]>
…class/zksync-era into fix-integration-test
…era into fix-integration-test
* Fix eth_sender value * Restore original config file and omit commented values * Format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job refactoring the code! One more thing that I missed last week and we can merge
f740993
to
e1312ff
Compare
* Remove web3 error * Optimize updateConfigFile * Format * update compute_overhead constants in chain.toml --------- Co-authored-by: toni-calvin <[email protected]>
We have changed the COMPUTE_OVERHEAD to be changeable because it was not passing the tests in Rollup, it was one of the first fixes we made (it fixes a bug in the web3 suite, from the gas difference). We have also optimized the "updateConfigFile()" function to be of complexity O(n+m) instead of O(m·n), where "m" is the number of parameters and "n" is the number of lines in the configuration file. |
…class/zksync-era into fix-integration-test
…class/zksync-era into feat_validium_pubdata_abstraction
…class/zksync-era into fix-integration-test
* Update new variables between modes * Format
This reverts commit 051f173.
* System contracts test preprocessing mode * Mock dependencies, event writer asm contract test, refactoring * lint fix * Small refactoring * Change approach to use the test node * Add docs, comments * lint readme * Fix hashes * Regenerate yarn.lock to fix lints * lint:fix * Fix lints * Restore lost tests * Fix lints * Restore yarn.lock from dev * Update caches in workflows * Try to disable lint cache * Restore lint cache * Cache contracts-preprocessed * try to debug lint * Regenerate yarn.lock from dev * Restore correct deps * Update lock * Proposed improvements/fixes * Use fast-glob instead glob * Update bootloader_test artifact path * Proposed improvements, update hashes * Implement some fixes and improvements * Fix lints * Update zksync-era in bootloader tests * Fix imports Signed-off-by: Danil <[email protected]> * Update contracts/test-contracts/MockContract.sol Co-authored-by: Vlad Bochok <[email protected]> * Fix test infra * data -> input mock contract * Update SC hashes * Update zksync-era in bootloader/test_infra * Update again --------- Signed-off-by: Danil <[email protected]> Co-authored-by: Danil <[email protected]> Co-authored-by: Vlad Bochok <[email protected]>
In roll-up mode:
In validium mode: