Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[genesis] Introduce GenesisConfig #1672

Merged
merged 1 commit into from
May 14, 2024
Merged

[genesis] Introduce GenesisConfig #1672

merged 1 commit into from
May 14, 2024

Conversation

jolestar
Copy link
Contributor

Summary

Introduce GenesisConfig to simply the Genesis init.

  1. Put the Bitcoin network, sequencer account, etc., into GenesisConfig.
  2. Part of [Genesis] Use a fixed sequencer address for testnet and mainnet #1668

TODO:

  1. Deprecated the bitcoin network and sequencer/proposer from the start option.
  2. Provide rooch genesis command.

Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-rooch-portal-v1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 5:33pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) May 13, 2024 5:33pm

@jolestar
Copy link
Contributor Author

The CI SDK test failed, but running it locally was a success.

Child process exit, exit code 1Child process exit, exit code 1⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  test/e2e/sdk.test.ts > SDK
Error: Child process exited with code 1, error message:     Finished dev [unoptimized + debuginfo] target(s) in 0.58s
     Running `/runner/_work/rooch/rooch/target/debug/rooch move publish -p ../../../examples/entry_function_arguments/ --named-addresses rooch_examples=default`
INCLUDING DEPENDENCY MoveStdlib
INCLUDING DEPENDENCY MoveosStdlib
INCLUDING DEPENDENCY RoochFramework
BUILDING entry_function_arguments
Publish modules to address: 0xb00f6b2bd62be91e2c6657de6da797307843c7da37b39d33593541[45](https://github.com/rooch-network/rooch/actions/runs/9067292991/job/24927946074?pr=1672#step:22:46)4ef1927b

 ❯ ChildProcess.<anonymous> test/e2e/cli/rooch-cli.ts:35:20
     33|           if (code !== 0) {
     34|             process.stderr.write(`Child process exit, exit code ${code…
     35|             reject(new Error(`Child process exited with code ${code}, …
       |                    ^
     36|           } else {
     37|             try {

@jolestar
Copy link
Contributor Author

I merged this PR first and figured it out.

@jolestar jolestar merged commit 5060ec9 into main May 14, 2024
7 of 8 checks passed
@jolestar jolestar deleted the genesis_config branch May 14, 2024 02:54
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