Skip to content

fix: hotfixes for nitro support#100

Merged
fredlacs merged 20 commits intoc-nitro-stablefrom
nitro-fixes
Jun 28, 2022
Merged

fix: hotfixes for nitro support#100
fredlacs merged 20 commits intoc-nitro-stablefrom
nitro-fixes

Conversation

@fredlacs
Copy link
Contributor

Cherry picked commits from #98
Changed the base of that PR which made stuff messy

Should still address #98 (comment)

@fredlacs fredlacs requested review from gzeoneth and yahgwai June 27, 2022 14:22
@cla-bot cla-bot bot added the cla-signed label Jun 27, 2022
@fredlacs fredlacs mentioned this pull request Jun 27, 2022
const creationReceipt = await this.getRetryableCreationReceipt()
// if retryable was created but no longer exists then we know that it was either
// redeemed or expired
const redeemWasSuccessfulOrExpired = creationReceipt && !await this.retryableExists()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const redeemWasSuccessfulOrExpired = creationReceipt && !await this.retryableExists()
const redeemWasSuccessfulOrExpired = creationReceipt && !await this.retryableExists()
if(!redeemWasSuccessfulOrExpired){
// either created but not redeemed yet -> not expired
// or not created -> not expired(?)
return { redeemReceipt: null, expired: false }
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the return ~L399 too

@gzeoneth
Copy link
Member

cherry-pick 65e2825 then I think this should be done

Copy link
Member

@gzeoneth gzeoneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, still an unresolved suggestion tho.

Copy link
Contributor

@yahgwai yahgwai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fredlacs fredlacs changed the title Nitro fixes fix: hotfixes for nitro support Jun 28, 2022
@fredlacs fredlacs merged commit e75d5d7 into c-nitro-stable Jun 28, 2022
@fredlacs fredlacs deleted the nitro-fixes branch June 28, 2022 10:46
umershaikh123 pushed a commit to umershaikh123/arbitrum-sdk that referenced this pull request May 20, 2024
update logo all over the tutorials repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants