Skip to content

Conversation

@uri-99
Copy link
Contributor

@uri-99 uri-99 commented Dec 2, 2024

Fix fetch operator metadata for mainnet

Description

The first block being read in mainnet was too big, so the operator didn't find any operator update avs metadata uri events.

This PR lowers this number to a smaller value.

This pr also parametrizes the make target to make it more usable, the same as fetch old batches, since it had a similar problem.

Type of change

Please delete options that are not relevant.

  • New feature
  • Bug fix
  • Optimization
  • Refactor

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

@uri-99 uri-99 self-assigned this Dec 2, 2024
@uri-99 uri-99 linked an issue Dec 2, 2024 that may be closed by this pull request
Copy link
Contributor

@avilagaston9 avilagaston9 left a comment

Choose a reason for hiding this comment

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

Works in my machine!

Copy link
Contributor

@JulianVentura JulianVentura left a comment

Choose a reason for hiding this comment

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

Can't make the explorer_fetch_old_batches work on my machine.
Configured explorer .env to point to mainnet contracts and rpc.
Executing said script shows error "Could not connect to explorer@"

@uri-99
Copy link
Contributor Author

uri-99 commented Dec 2, 2024

Can't make the explorer_fetch_old_batches work on my machine. Configured explorer .env to point to mainnet contracts and rpc. Executing said script shows error "Could not connect to explorer@"

Make sure your ELIXIR_HOSTNAME is correctly set, you can get the value with the cmd: elixir -e 'IO.puts(:inet.gethostname() |> elem(1))'

Also make sure you have the explorer running while you do this

@JuArce JuArce merged commit 3144c96 into testnet Dec 4, 2024
1 check passed
@JuArce JuArce deleted the hotfix-explorer-operator-metadata-mainnet branch December 4, 2024 17:45
PatStiles pushed a commit that referenced this pull request Dec 6, 2024
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.

hotfix(explorer): parse operators metada correctly

6 participants