Skip to content

feat: Aurora Migration Verification#307

Merged
olga24912 merged 1 commit intomigrationfrom
aurora-engine
Apr 11, 2025
Merged

feat: Aurora Migration Verification#307
olga24912 merged 1 commit intomigrationfrom
aurora-engine

Conversation

@r-near
Copy link
Copy Markdown
Contributor

@r-near r-near commented Apr 2, 2025

Description

This PR adds functionality to verify the pause status of Aurora Engine precompiles and ETH connector methods.

Changes

  • Added a new checkAuroraPrecompiles function to verify the status of EXIT_TO_NEAR and EXIT_TO_ETHEREUM precompiles
  • Implemented ETH connector flags verification to check if ft_transfer and ft_transfer_call methods are paused

Technical Details

  • Interprets precompile flags where:
    • EXIT_TO_NEAR = bit 0 (value 1)
    • EXIT_TO_ETHEREUM = bit 1 (value 2)
  • Handles ETH connector pause flags:
    • PAUSE_DEPOSIT = bit 0 (value 1)
    • PAUSE_WITHDRAW = bit 1 (value 2)
    • PAUSE_FT = bit 2 (value 4)
  • Recognizes special case flag value 255 for pausing all functions

Testing

The verification tool has been tested against Aurora Localnet and correctly identifies the pause status of precompiles and ETH connector methods.

@r-near r-near requested review from Copilot, karim-en and olga24912 April 2, 2025 23:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds migration verification functionality for Aurora Engine precompiles and ETH connector pause flags. It introduces a new checkAuroraPrecompiles function, integrates the function into the verification flow, and implements logging for precompile and pause flag statuses.

Comment thread migration/verification/verify-paused-methods.ts
@olga24912 olga24912 merged commit 9447ae5 into migration Apr 11, 2025
4 of 11 checks passed
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