Skip to content

Commit

Permalink
Merge pull request #20 from zkLinkProtocol/issue-19
Browse files Browse the repository at this point in the history
fix ffi build error(fix #19)
  • Loading branch information
zkbenny authored Oct 10, 2023
2 parents ead3a64 + 4a3e1ab commit c9567b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binding_tests/interface_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func TestSignForcedExit(t *testing.T) {
sdk.TokenId(18),
sdk.Nonce(1),
*big.NewInt(100000),
true,
sdk.TimeStamp(1693472232),
}
tx := sdk.NewForcedExit(builder)
Expand Down Expand Up @@ -238,6 +239,7 @@ func TestSignWithdraw(t *testing.T) {
sdk.Nonce(1),
false,
50,
true,
sdk.TimeStamp(1693472232),
}
tx := sdk.NewWithdraw(builder)
Expand Down
2 changes: 2 additions & 0 deletions bindings/sdk/src/ffi.udl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ dictionary WithdrawBuilder {
Nonce nonce;
boolean fast_withdraw;
u16 withdraw_fee_ratio;
boolean withdraw_to_l1;
TimeStamp timestamp;
};

Expand All @@ -108,6 +109,7 @@ dictionary ForcedExitBuilder {
TokenId l1_target_token;
Nonce initiator_nonce;
BigUint exit_amount;
boolean withdraw_to_l1;
TimeStamp timestamp;
};

Expand Down

0 comments on commit c9567b8

Please sign in to comment.