Skip to content

fix: finalise legacy transfers#297

Merged
kiseln merged 7 commits intomainfrom
finalise-legacy-transfers
Mar 26, 2025
Merged

fix: finalise legacy transfers#297
kiseln merged 7 commits intomainfrom
finalise-legacy-transfers

Conversation

@karim-en
Copy link
Copy Markdown
Collaborator

@karim-en karim-en commented Mar 13, 2025

Allow the e-near proxy contract to finalize the legacy transfers

@karim-en karim-en requested review from kiseln, olga24912 and r-near and removed request for r-near March 13, 2025 15:33
eNear.finaliseNearToEthTransfer(proofData, proofBlockHeight);
}

function pause(uint flags) external onlyRole(DEFAULT_ADMIN_ROLE) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Let's also add pauseAll with pause manager role

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Done

@kiseln kiseln self-requested a review March 24, 2025 16:07
"Proof should be valid"
);

eNear.finaliseNearToEthTransfer(proofData, proofBlockHeight);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need to add a separate method to this contract? Why can't we finalize transactions directly in eNear?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We will replace eNear prover to the fake one to allow minting through the proxy

@kiseln kiseln merged commit ae4c092 into main Mar 26, 2025
16 checks passed
@kiseln kiseln deleted the finalise-legacy-transfers branch June 24, 2025 18:57
@kiseln kiseln restored the finalise-legacy-transfers branch June 24, 2025 18:58
@kiseln kiseln deleted the finalise-legacy-transfers branch June 24, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants