FuelLabs / sway-applications

Swaypplications
https://sway-applications.vercel.app/
Apache License 2.0
1.57k stars 537 forks source link

Use dynamic base asset id in tests instead of static zero #800

Open SwayStar123 opened 2 months ago

SwayStar123 commented 2 months ago

Motivation

Currently all tests assume a base asset id of zero, all tests and contracts should use the base asset id of the chain via provider.base_asset_id() or AssetId::base()