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

Release 1.8.0 rc2 #914

Merged
merged 21 commits into from
Dec 19, 2022
Merged

Release 1.8.0 rc2 #914

merged 21 commits into from
Dec 19, 2022

Conversation

jjyr
Copy link
Collaborator

@jjyr jjyr commented Dec 19, 2022

[v1.8.0-rc2] - 2022-12-19

A major change in this release is re-interpreting the meaning of the xxx_timepoint field to finalized timestamp.
Thus, we can use the CKB transaction's since field to determine the l1 timestamp and to unlock l1 cells without reference to the Rollup cell. It also simplifies the finality determination of withdrawal cells.

  • feat: change timepoint interpretation #897
  • refactor: rename structure fields #912

We also adjust the documentation:

  • doc: update Finality Mechanism Changes #913

Other changes:

jjyr and others added 21 commits December 12, 2022 10:27
Adapting block.timepoint to the new form also adapts
withdrawal_block_timepoint, deposit_block_timepoint, and stake_block_timepoint,
which must all be equal to block.timepoint.
The global state should have the last_finalized_timepoint equal to the
input.since, do not add the finality_time_in_ms.
fix error: binary `ckb-binary-patcher` already exists in destination
…ises#905)

* refactor: move `gw-types` and `gw-common` to `gwos` folder

* fix(ci): install nightly rustfmt

* fix: prevent to get a early since value in global_state_last_finalized_timepoint_to_since

* fix(ci): script-tests c-uint256-tests

* refactor: move smt from `gw-common` to a standalone crate `gw-smt`

* refactor: remove tron account lock contract

* chore: remove unused step from CI

* refactor: define H256 as alias of [u8; 32]

* refactor: remove unused files from gw-smt

* refactor: reduce copy when convert Vec<SMTH256>

* fix(ci): fix molecule schema url

* fix: fix evm tests

* fix: gwos-evm tests
If a CKB indexer RPC url is explicitly specified, we assume that we are
connecting to a standalone indexer (i.e. we use `get_tip`).

Otherwise we just use CKB RPC url and assume that we are connecting to
CKB builtin indexer (i.e. we use `get_indexer_tip`).
Molecule:

- `CustodianLockArgs#deposit_block_timepoint` -> `deposit_finalized_timepoint`
- `WithdrawalLockArgs#withdrawal_block_timepoint` -> `withdrawal_finalized_timepoint`
- `StakeLockArgs#stake_block_timepoint` -> `stake_finalized_timepoint`

JronRPC:

- `WithdrawalLockArgs#withdrawal_block_timepoint` -> `withdrawal_finalized_timepoint`
@jjyr jjyr force-pushed the release-1.8.0-rc2 branch from 7162b81 to 02de4dc Compare December 19, 2022 08:56
@jjyr jjyr requested review from Flouse and a team December 19, 2022 08:56
@Flouse Flouse requested a review from blckngm December 19, 2022 09:49
@jjyr jjyr merged commit e3adced into godwokenrises:1.8-rc Dec 19, 2022
@jjyr jjyr deleted the release-1.8.0-rc2 branch December 19, 2022 10:32
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.

6 participants