Open djm07073 opened 3 months ago
link seems broken and invalid
now, i fix it
the code below builds successfully; a temporary workaround to avoid type inference errors.
inline fun use_user_vesting(_value: UserVesting) {} --> inline function to use explicit type
vector::for_each(
user_vestings_cache, --> vector<UserVesting>
|vesting| {
use_user_vesting(vesting); --> explicit type of UserVesting
table::upsert(
user_vestings,
table_key::encode_u64(vesting.start_stage),
vesting
);
// .... other code logic
);
It looks like it have the same issue