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

testnet_v1: upgrade to v1.3.0-rc and switch Polyjuice backend at block#180000 #45

Merged
merged 2 commits into from
Jul 11, 2022

Conversation

Flouse
Copy link
Collaborator

@Flouse Flouse commented Jul 4, 2022

New Image

image: ghcr.io/nervosnetwork/godwoken-prebuilds:1.3.0-rc2

Godwoken testnet_v1 is not forward compatible with godwoken-polyjuice-v1.3.0.
Therefore, we need to add the following configuration into gw-testnet_v1-config-readonly.toml:

Switch backend at block#180000

[[backend_switches]]
switch_height = 180000
[[backend_switches.backends]]
validator_path = '/scripts/godwoken-polyjuice-v1.3.0/validator'
generator_path = '/scripts/godwoken-polyjuice-v1.3.0/generator'
validator_script_type_hash = '0x1629b04b49ded9e5747481f985b11cba6cdd4ffc167971a585e96729455ca736'
backend_type = 'Polyjuice'

Related PR

@Flouse Flouse requested review from Keith-CY and jjyr July 5, 2022 02:44
@Flouse Flouse marked this pull request as ready for review July 5, 2022 02:44
@Flouse Flouse changed the title testnet_v1: upgrate to v1.3.0-rc testnet_v1: upgrade to v1.3.0-rc Jul 5, 2022
Note: To achieve higher sync speed, please run your own ckb-testnet-node and
ckb-testnet-indexer, and update [rpc_client] in gw-testnet_v1-config-readonly.toml.
see: https://docs.nervos.org/docs/basics/guides/run-ckb-with-docker#run-a-ckb-testnet-node
@Flouse Flouse self-assigned this Jul 5, 2022
@Flouse Flouse changed the title testnet_v1: upgrade to v1.3.0-rc testnet_v1: upgrade to v1.3.0-rc and switch Polyjuice backend at block#180000 Jul 7, 2022
@Flouse Flouse merged commit cffde76 into main Jul 11, 2022
@Flouse Flouse deleted the testnet_v1 branch July 11, 2022 02:39
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.

1 participant