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
Working on a contract to launch a DAOs with Stargaze minters, and came across the following build error when adding base-minter and base-factory crates to this contract's Cargo.toml (probably seems to exist for all v3.1.0 minter and factories).
As a work around I'm using v2.4.0 for the time being, but would like to be able to use the latest. sg-std has moved to the core repo, but seems to be missing the math module? I see v3.1.1 has been released but it's not yet available on crates.io (not sure if it has a fix).
10 | use sg_std::math::U64Ext;
| ^^^^ could not find `math` in `sg_std`
error[E0599]: no method named `bps_to_decimal` found for type `u64` in the current scope
|
308 | / factory_params
309 | | .extension
310 | | .airdrop_mint_fee_bps
311 | | .bps_to_decimal()
| | -^^^^^^^^^^^^^^ method not found in `u64`
| |_____________|
The text was updated successfully, but these errors were encountered:
Working on a contract to launch a DAOs with Stargaze minters, and came across the following build error when adding
base-minter
andbase-factory
crates to this contract'sCargo.toml
(probably seems to exist for allv3.1.0
minter and factories).As a work around I'm using
v2.4.0
for the time being, but would like to be able to use the latest.sg-std
has moved to the core repo, but seems to be missing themath
module? I seev3.1.1
has been released but it's not yet available on crates.io (not sure if it has a fix).The text was updated successfully, but these errors were encountered: