Skip to content

Commit

Permalink
add marketplace.chain_config to demo.toml (#1914)
Browse files Browse the repository at this point in the history
* add marketplace.chain_config to demo.toml

---------

Co-authored-by: tbro <[email protected]>
  • Loading branch information
tbro and tbro authored Aug 27, 2024
1 parent 22778af commit 5b59a46
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
9 changes: 8 additions & 1 deletion data/genesis/demo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,11 @@ version = "0.3"
start_proposing_view = 5
stop_proposing_view = 15

[upgrade.marketplace]
[upgrade.marketplace]
[upgrade.marketplace.chain_config]
chain_id = 999999999
max_block_size = '1mb'
base_fee = '1 wei'
fee_recipient = "0x0000000000000000000000000000000000000000"
bid_recipient = "0x0000000000000000000000000000000000000000"
fee_contract = '0xa15bb66138824a1c7167f5e85b957d04dd34e468'
15 changes: 15 additions & 0 deletions sequencer/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,14 @@ mod test {
stop_proposing_view = 10

[upgrade.marketplace]
[upgrade.marketplace.chain_config]
chain_id = 12345
max_block_size = 30000
base_fee = 1
fee_recipient = "0x0000000000000000000000000000000000000000"
bid_recipient = "0x0000000000000000000000000000000000000000"
fee_contract = "0x0000000000000000000000000000000000000000"

}
.to_string();

Expand Down Expand Up @@ -713,6 +721,13 @@ mod test {
stop_proposing_view = 10

[upgrade.marketplace]
[upgrade.marketplace.chain_config]
chain_id = 12345
max_block_size = 30000
base_fee = 1
fee_recipient = "0x0000000000000000000000000000000000000000"
bid_recipient = "0x0000000000000000000000000000000000000000"
fee_contract = "0x0000000000000000000000000000000000000000"

[[upgrade]]
version = "0.2"
Expand Down

0 comments on commit 5b59a46

Please sign in to comment.