-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
DEFAULT_SPENDABLE_COIN_AMOUNT, | ||
coin_witness_index, | ||
) | ||
.get_asset_inputs_for_amount(AssetId::default(), 1_000_000, coin_witness_index) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be getting rid of the const here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is removed from the fuels_core
so we need to remove that. See FuelLabs/sway#2896 (comment) for more detail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, should we maybe put it behind a local const then for readability? eg const SPENDABLE_COIN_AMOUNT = 1_000_000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reading through other PRs I see in some context local consts are used and other times not, up to you @bingcicle !
sway
dependencies to0.24.5
fuels
deps according to Bump a few dependencies sway#2896