-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Esad/proving memory optimizations (#625)
* drop memory heavy stuff where we can * accumulate state diff map inside apply_soft_confirmations_from_sequencer_commitments * add some config files * update prover configs * update bitcoin da ids * use CumulativeStateDiff::default() instead of Default::default() Co-authored-by: Roman <[email protected]> * use itertools zip_eq * use default for itertools --------- Co-authored-by: Roman <[email protected]>
- Loading branch information
1 parent
5383987
commit 7323186
Showing
19 changed files
with
115 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ fuzz/Cargo.lock | |
demo_data/ | ||
sequencer-db/ | ||
full-node-db/ | ||
prover-db/ | ||
/.vscode/* | ||
|
||
/docker/credentials/* | ||
|
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
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,2 @@ | ||
proving_mode = "execute" | ||
proof_sampling_number = 500 |
28 changes: 28 additions & 0 deletions
28
bin/citrea/configs/bitcoin-regtest/prover_rollup_config.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,28 @@ | ||
[public_keys] | ||
sequencer_public_key = "204040e364c10f2bec9c1fe500a1cd4c247c89d650a01ed7e82caba867877c21" | ||
sequencer_da_pub_key = "02588d202afcc1ee4ab5254c7847ec25b9a135bbda0f2bc69ee1a714749fd77dc9" | ||
prover_da_pub_key = "" | ||
|
||
[da] | ||
# fill here | ||
node_url = "" | ||
# fill here | ||
node_username = "" | ||
# fill here | ||
node_password = "" | ||
network = "regtest" | ||
|
||
[storage] | ||
# The path to the rollup's data directory. Paths that do not begin with `/` are interpreted as relative paths. | ||
path = "prover-db" | ||
|
||
[rpc] | ||
# the host and port to bind the rpc server for | ||
bind_host = "127.0.0.1" | ||
bind_port = 12346 | ||
|
||
# We define the rollup's genesis to occur at block number `start_height`. The rollup will ignore | ||
# any blocks before this height | ||
[runner] | ||
sequencer_client_url = "http://0.0.0.0:12345" | ||
include_tx_body = false |
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,4 +1,5 @@ | ||
proving_mode = "execute" | ||
proof_sampling_number = 500 | ||
|
||
[db_config] | ||
db_host = "localhost" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.