forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add blobs execution to example (#210)
* add config files * execute scenario with 20 accounts and 200 deploy tx per account * rename methods and add transfer_eth and withdraw_eth methods * add deploy_erc20 scenario * add mint_erc20 scenario and transfer_erc20 scenario
- Loading branch information
1 parent
ac63f74
commit 42f3f81
Showing
10 changed files
with
201 additions
and
23 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,13 @@ | ||
[chain.state_keeper] | ||
transaction_slots=5000 | ||
block_commit_deadline_ms=1800000 | ||
max_pubdata_per_batch=240000 | ||
|
||
[eth_sender.gas_adjuster] | ||
internal_enforced_l1_gas_price=45000000000 | ||
|
||
[eth_sender.sender] | ||
pubdata_sending_mode="Blobs" | ||
|
||
[_metadata] | ||
base = ["dev.toml"] |
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,12 @@ | ||
[chain.state_keeper] | ||
transaction_slots=5000 | ||
block_commit_deadline_ms=1800000 | ||
|
||
[eth_sender.gas_adjuster] | ||
internal_enforced_l1_gas_price=45000000000 | ||
|
||
[eth_sender.sender] | ||
pubdata_sending_mode="Blobs" | ||
|
||
[_metadata] | ||
base = ["dev_validium.toml"] |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
pub static ERA_PROVIDER_URL: &str = "http://127.0.0.1:3050"; | ||
pub static PRIVATE_KEY: &str = "7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110"; | ||
|
||
pub static CONTRACT_BIN: &str = include_str!("../ERC20.bin"); | ||
pub static CONTRACT_ABI: &str = include_str!("../ERC20.abi"); | ||
pub static ERC20_BIN: &str = include_str!("../ERC20.bin"); | ||
pub static ERC20_ABI: &str = include_str!("../ERC20.abi"); | ||
|
||
pub static L1_URL: &str = "http://localhost:8545"; |
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
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