Skip to content

Add rufus-mainnet config file#13

Open
zacshowa wants to merge 3 commits into
mainfrom
zs/rufus-aws-migration
Open

Add rufus-mainnet config file#13
zacshowa wants to merge 3 commits into
mainfrom
zs/rufus-aws-migration

Conversation

@zacshowa
Copy link
Copy Markdown
Contributor

Closes:
Issue #12

Asana Task: Create Rufus mainnet config

This PR:

Adds a config for Rufus mainnet

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the rufus-mainnet.json configuration file for the Nitro chain. The review feedback identifies several instances where the placeholder string PLACE_HOLDER is used incorrectly; these should be updated to PLACEHOLDER to ensure compatibility with the project's configuration validation scripts.

Comment thread chain-configs/nitro/rufus-mainnet.json Outdated
"max-delay": "1h0m0s",
"max-size": 90000,
"parent-chain-wallet": {
"private-key": "PLACE_HOLDER"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The placeholder for the private key should be PLACEHOLDER to match the constant defined in scripts/validate_config.py. Using PLACE_HOLDER (with an underscore) will cause the validation script to fail at line 192.

Suggested change
"private-key": "PLACE_HOLDER"
"private-key": "PLACEHOLDER"

Comment thread chain-configs/nitro/rufus-mainnet.json Outdated
"parent-chain-node-url": "http://erpc.mainnets.espresso.private:4000/main/evm/1",
"rest-aggregator": {
"enable": true,
"urls": "PLACE_HOLDER"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The placeholder for the REST aggregator URLs should be PLACEHOLDER. The current value PLACE_HOLDER will fail the _is_placeholder check in scripts/validate_config.py (line 312).

Suggested change
"urls": "PLACE_HOLDER"
"urls": "PLACEHOLDER"

Comment thread chain-configs/nitro/rufus-mainnet.json Outdated
},
"rpc-aggregator": {
"assumed-honest": 1,
"backends": "PLACE_HOLDER",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The placeholder for the RPC aggregator backends should be PLACEHOLDER to align with the validation rules in scripts/validate_config.py (line 335).

        "backends": "PLACEHOLDER"

Comment thread chain-configs/nitro/rufus-mainnet.json Outdated
},
"espresso": {
"batch-poster": {
"attestation-service-url": "http://arb-verifier.mainnets.espresso.private:8080",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is arb-verifier correct? is it not eth-verifier or something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I just have to trim off arb-
so it's just verifier.mainnets... for what we need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants