You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an optional scale field on the TokenMetadataSchema for configuring this value (default is 1).
When a warp route is configured with non-uniform decimals, the scale value should be validated and derived to ensure that the warp route is correctly scaled.
### Description
- Adopt scale across warp route contracts
- Remove native scaled and support scaled everywhere
- Update SDK deployer code to use new constructors
### Related issues
- opens #5296
### Backward compatibility
SDK/CLI yes, core no
### Testing
Unit Tests
Problem
#5233 introduces scaling to fungible warp routes.
There is an optional
scale
field on theTokenMetadataSchema
for configuring this value (default is 1).When a warp route is configured with non-uniform
decimals
, thescale
value should be validated and derived to ensure that the warp route is correctly scaled.Solution
Given some config
The
scale
value should be derived as follows:The text was updated successfully, but these errors were encountered: