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

feat: fast withdrawal to v1 #645

Merged
merged 17 commits into from
Apr 27, 2022

Conversation

zeroqn
Copy link
Contributor

@zeroqn zeroqn commented Apr 6, 2022

  • support generate and unlock withdrawal to v1 cell
  • add withdrawal config
pub struct WithdrawalToV1Config {
    pub v1_rollup_type_hash: H256,
    pub v1_deposit_lock_code_hash: H256,
    pub v1_eth_lock_code_hash: H256,
    pub v1_deposit_minimal_cancel_timeout_msecs: u64,
}
  • add withdraw-to-v1 command to gw-tools

@zeroqn zeroqn marked this pull request as ready for review April 7, 2022 09:22
@zeroqn zeroqn force-pushed the feat-fast-withdrawal-to-v1 branch from 7c7d55f to 648f840 Compare April 7, 2022 10:17
@Flouse Flouse requested review from jjyr, blckngm and Flouse April 7, 2022 15:35
crates/block-producer/src/withdrawal.rs Outdated Show resolved Hide resolved
crates/rpc-client/src/withdrawal.rs Outdated Show resolved Hide resolved
@zeroqn zeroqn force-pushed the feat-fast-withdrawal-to-v1 branch 2 times, most recently from 118b704 to 210f592 Compare April 18, 2022 07:29
@zeroqn zeroqn force-pushed the feat-fast-withdrawal-to-v1 branch 3 times, most recently from 6585fd6 to 4b93d64 Compare April 20, 2022 12:45
.github/workflows/rust.yml Outdated Show resolved Hide resolved
@zeroqn zeroqn force-pushed the feat-fast-withdrawal-to-v1 branch from c33e49f to 350105c Compare April 26, 2022 11:03
crates/block-producer/src/withdrawal.rs Show resolved Hide resolved
crates/tools/src/main.rs Show resolved Hide resolved
@zeroqn zeroqn force-pushed the feat-fast-withdrawal-to-v1 branch from 81df540 to 43b7427 Compare April 27, 2022 10:26
@jjyr jjyr requested review from Flouse and blckngm April 27, 2022 10:30
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.

5 participants