Skip to content

Conversation

@tejasbadadare
Copy link
Contributor

Summary

Fix Aptos contract CI by explicitly creating a coin conversion map in the test setup.

Rationale

A recent update to the AptosFramework dependency made it required to explicitly define a coin conversion map when initializing a coin. We init an APT coin in tests to verify fee withdrawals. Since our dep was pointed to mainnet, this caused CI to randomly start failing. This fix adheres to the requirement and also pins the version to the latest revision to avoid other surprises from deps.

How has this been tested?

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

@vercel
Copy link

vercel bot commented Mar 11, 2025

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 8:49pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 8:49pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 8:49pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Mar 11, 2025 8:49pm
entropy-debugger ⬜️ Ignored (Inspect) Mar 11, 2025 8:49pm
insights ⬜️ Ignored (Inspect) Mar 11, 2025 8:49pm

Copy link
Contributor

@jayantk jayantk left a comment

Choose a reason for hiding this comment

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

🙇

@tejasbadadare tejasbadadare merged commit 761fd6c into main Mar 11, 2025
10 of 11 checks passed
@tejasbadadare tejasbadadare deleted the tb/lazer-aptos-contract/fix-ecoin-conversion-map branch March 11, 2025 23:12
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.

4 participants