Update withdrawal params for two step withdrawals#4275
Conversation
|
0ebf17f to
db3d43c
Compare
This renames the L2 block field to the L2 Index. This more accurately matches what the L2 output oracle contract expects.
db3d43c to
5926347
Compare
I agree with this, the sdk has a stable interface for typescript and the existing go utils aren't working well for my usecase of submitting migrated withdrawals |
Description
This renames the L2 block field to the L2 Index. This more accurately matches what the L2 output oracle contract expects.
Tests
Tested in hive here: ethereum-optimism/hive#66
Additional context
I think we need a design doc on the API design of the proof withdrawal utilities. I expect that the API might change again - having to pass in the contract is a little bit ugly.
Once this is merged, I'll have to cut a release
v0.10.3and then update hive with that release.