aztec-connect-bridges
aztec-connect-bridges copied to clipboard
[WIP] Add Ribbon Finance bridge contract
Hello @drshrey, how is it going with this bridge? π
Finishing up the final unit test and finalise logic today, will have it out for the first set of reviews eod PT!
Get Outlook for iOShttps://aka.ms/o0ukef
From: Jan BeneΕ‘ @.> Sent: Monday, May 30, 2022 8:24:14 AM To: AztecProtocol/aztec-connect-bridges @.> Cc: Shreyas Jaganmohan @.>; Mention @.> Subject: Re: [AztecProtocol/aztec-connect-bridges] [WIP] Add Ribbon Finance bridge contract (PR #34)
Hello @drshreyhttps://github.com/drshrey, how is it going with this bridge? π
β Reply to this email directly, view it on GitHubhttps://github.com/AztecProtocol/aztec-connect-bridges/pull/34#issuecomment-1141277236, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYKNPOTSNUMBTVI7P2BWO3VMTMR5ANCNFSM5REL76NQ. You are receiving this because you were mentioned.Message ID: @.***>
Finishing up the final unit test and finalise logic today, will have it out for the first set of reviews eod PT!
Great to hear π
BTW can you please rebase the branch onto master and fix the linting errors in your code (if there are some)? Lately we've done many changes to the code quality requirements so would it be great to have this branch follow that.
We updated dependencies so before running tests don't forget to run yarn and
git submodule update --init` again.
Thank you
Rebased! @benesjan, one final question I had was around the finalization process for withdrawals. There are 2 withdrawal processes, but the tricky one seems to be the asynchronous one i.e. there is effectively a 1 hour window between rounds in which we can complete a withdrawal request for tokens posted in prior rounds (we do have to initialize the request beforehand which has more leniency on when). Is there a way for the rollup processor to invoke finalise()
during that time window (Fridays between 10 AM - 11 AM UTC)?
Rebased! @benesjan, one final question I had was around the finalization process for withdrawals. There are 2 withdrawal processes, but the tricky one seems to be the asynchronous one i.e. there is effectively a 1 hour window between rounds in which we can complete a withdrawal request for tokens posted in prior rounds (we do have to initialize the request beforehand which has more leniency on when). Is there a way for the rollup processor to invoke
finalise()
during that time window (Fridays between 10 AM - 11 AM UTC)?
Hi, for the asynchronous execution, anyone is able to go to the RollupProcessor
to call processAsyncDefiInteraction
with the specific nonce, so you might want to think about a manner to ensure that someone performs this call, e.g., cover the gas cost etc. If you want to do it from within a rollup itself, you might not hit the correct timing. Let me know if you got any questions.
@drshrey It seems that the contracts don't compile. Can you please fix that along with the linting errors? Running yarn lint
returns the following:
Thank you π