Skip to content

Commit

Permalink
Update the CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
steelgeek091 committed Dec 18, 2024
1 parent 0fa6139 commit 870c937
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/check_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
run: ./scripts/pr.sh -t
- name: Build and test example projects
run: ./scripts/pr.sh -e
- name: Generate Genesis File for Mainnet
run: cargo run -p rooch-genesis -- -n main
- name: Generate Genesis File for Testnet
run: cargo run -p rooch-genesis -- -n test

# web & sdk & dashboard
- name: Use Node.js
Expand Down
4 changes: 3 additions & 1 deletion crates/rooch-genesis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ impl RoochGenesis {
|| network.chain_id == BuiltinChainID::Local.chain_id()
{
FrameworksGasParameters::latest()
} else {
} else if network.chain_id == BuiltinChainID::Main.chain_id() {
FrameworksGasParameters::initial()
} else {
FrameworksGasParameters::v1()
}
};
let gas_config = gas_parameter.to_gas_schedule_config(network.chain_id);
Expand Down

0 comments on commit 870c937

Please sign in to comment.