This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Releases: godwokenrises/godwoken-scripts
Releases · godwokenrises/godwoken-scripts
v1.3.0-rc1
v1.2.0
What's Changed
- feat: add overwrite param when update eth addr reg by @magicalne in #119
- fix: correct comment of _sudt_build_key by @jjyr in #120
Full Changelog: v1.1.0-beta...v1.2.0
v1.1.0-beta
What's Changed
- BRAKING CHANGE(withdrawal lock): disable unlock via trade by @zeroqn in #104
- Refactor sudt with registry address by @jjyr in #116
- BREAKING CHANGE: change ckb decimal to 18 by @zeroqn in #118
- feat(withdrawal): unlock finalized only change output lock to owner by @zeroqn in #102
- refactor(gw_get_script_hash_by_prefix_fn): use
const
forprefix
arg by @Flouse in #106
Full Changelog: v1.0.0-rc1...v1.1.0-beta
v0.9.0
What's Changed
- log: add more error logs by @jjyr in #97
- log: output block timestamp context by @jjyr in #100
- build: stick capsule docker image version by @TheWaWaR in #103
- refactor(gw_get_script_hash_by_prefix_fn): use
const
forprefix
arg by @Flouse in #106 - BRAKING CHANGE(withdrawal lock): disable unlock via trade by @zeroqn in #104
- feat(withdrawal): unlock finalized only change output lock to owner by @zeroqn in #102
- feat(withdrawal): fast withdrawal to v1 by @zeroqn in #117
Full Changelog: v0.8.4...v0.9.0
v1.0.0-rc1
- add
get_sudt_total_supply
function to sudt_utils.h. - add get_sudt_total_supply example
- fix fee pay in
meta contract
- replace all
short_address
withshort_script_hash
- switch withdrawal message to EIP-712 typed structured message
- switch polyjuice tx hash to ethereum format
- remove sudt fee pay support, only ckb
- add identity to
allowed eoa type hashes
andallowed contract type hashes
in rollup config - refactor state tree, add
exist
flag byte to account id value
Redesigned address format for interoperability
Terms
- Godwoken - the rollup framework
- Polyjuice - a EVM compatible environment, which integrated with Godwoken.
- Godwoken address - the 32 bytes address used in the Godwoken.
- Short address - a short version of Godwoken address used in different environments, such as in the polyjuice.
Changes
In this version, we reviewed the interoperability of Godwoken. We give up some ability of compatible with EVM to make the address genernalize, thus, we can beyond the EVM protocol, and support more VMs & protocols in the future.
In the new version, a new concept called short_address is designed, users must use short_address instead of using ETH address directly, we provide a web3 provider to automatically replace the eth_address to polyjuice short_address for developers.
Protocol changes
- The
compatible_chain_id
field is removed fromRollupConfig
. - A new syscall
SYS_RECOVER_ACCOUNT
is added, the purpose of this syscall is to replaceECRECOVER
precompiled contract, polyjuice will provide a new precompiled contract to exposeSYS_RECOVER_ACCOUNT
.
Other libraries
- Godwoken - https://github.com/nervosnetwork/godwoken/tree/v0.4.0-rc1
- Godwoken scritps - https://github.com/nervosnetwork/godwoken-scripts/tree/v0.6.0-rc1
- Polyjuice web3 provider - https://github.com/RetricSu/polyjuice-providers-http