Skip to content

feat(lazer): add mapping to improve efficiency of evm contract #2507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

Riateche
Copy link
Contributor

Summary

Add a mapping to allow quick check of trusted signer.

Rationale

Asked by a consumer.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Mar 20, 2025 11:21am
component-library ⬜️ Ignored (Inspect) Mar 20, 2025 11:21am
entropy-debugger ⬜️ Ignored (Inspect) Mar 20, 2025 11:21am
insights ⬜️ Ignored (Inspect) Mar 20, 2025 11:21am
proposals ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2025 11:21am
staking ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2025 11:21am

@merolish
Copy link
Contributor

Do you even need the trustedSigners array now?

@Riateche
Copy link
Contributor Author

Do you even need the trustedSigners array now?

It's not really necessary now but we could need it later. It's nice to have the list of signers available in the contract. Mapping doesn't have ability to iterate over items.

@Riateche Riateche merged commit 8bcdee8 into main Mar 20, 2025
12 checks passed
@Riateche Riateche deleted the lazer-evm-mapping branch March 20, 2025 14:18
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