diff --git a/binding_tests/interface_test.go b/binding_tests/interface_test.go index 7f71d5f4..9de8b93b 100644 --- a/binding_tests/interface_test.go +++ b/binding_tests/interface_test.go @@ -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) @@ -238,6 +239,7 @@ func TestSignWithdraw(t *testing.T) { sdk.Nonce(1), false, 50, + true, sdk.TimeStamp(1693472232), } tx := sdk.NewWithdraw(builder) diff --git a/bindings/sdk/src/ffi.udl b/bindings/sdk/src/ffi.udl index d981a925..232cc475 100644 --- a/bindings/sdk/src/ffi.udl +++ b/bindings/sdk/src/ffi.udl @@ -95,6 +95,7 @@ dictionary WithdrawBuilder { Nonce nonce; boolean fast_withdraw; u16 withdraw_fee_ratio; + boolean withdraw_to_l1; TimeStamp timestamp; }; @@ -108,6 +109,7 @@ dictionary ForcedExitBuilder { TokenId l1_target_token; Nonce initiator_nonce; BigUint exit_amount; + boolean withdraw_to_l1; TimeStamp timestamp; };