Skip to content

Commit

Permalink
feat(confg): added chain config template and fgw example (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiyro authored Oct 30, 2024
1 parent 93d5763 commit d188aa9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next release

- feat(confg): added chain config template and fgw example
- feat(v0.8.0-rc0): starknet_subscribeNewHeads
- fix(rocksdb): update max open files opt
- code: refactor to use otel tracing instead of prometheus (removed mc-metrics, added mc-analytics)
Expand Down
4 changes: 4 additions & 0 deletions configs/chain_config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ chain_name: "Starknet Mainnet"

chain_id: "SN_MAIN"

# The URL of the gateway and Feeder Gateway your nodes should sync from.
feeder_gateway_url: "http://localhost:8080/feeder_gateway/"
gateway_url: "http://localhost:8080/gateway/"

# For starknet, this is the STRK ERC-20 contract on starknet.
native_fee_token_address: "0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d"

Expand Down
31 changes: 31 additions & 0 deletions configs/chain_config.template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
chain_name: ""
chain_id: ""
feeder_gateway_url: ""
gateway_url: ""
native_fee_token_address: ""
parent_fee_token_address: ""
latest_protocol_version: ""
block_time: ""
pending_block_update_time: ""
execution_batch_size:
bouncer_config:
block_max_capacity:
builtin_count:
add_mod:
bitwise:
ecdsa:
ec_op:
keccak:
mul_mod:
pedersen:
poseidon:
range_check:
range_check96:
gas:
n_steps:
message_segment_length:
n_events:
state_diff_size:
sequencer_address: ""
eth_core_contract_address: ""
eth_gps_statement_verifier: ""

0 comments on commit d188aa9

Please sign in to comment.