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
When the genesis is created through migration, the allocation process for timelocked or gas coins in favor of a list of validators includes a special "surplus" coin. This "surplus" coin is set aside during the transition from one validator's allocation to another's. Specifically, only a portion of its balance is used for a validator's allocation, while the remaining surplus may be utilized later for the next validator.
During this process, the last surplus timelocked coin picked during the execution of:
When the genesis is created through migration, the allocation process for timelocked or gas coins in favor of a list of validators includes a special "surplus" coin. This "surplus" coin is set aside during the transition from one validator's allocation to another's. Specifically, only a portion of its balance is used for a validator's allocation, while the remaining surplus may be utilized later for the next validator.
During this process, the last surplus timelocked coin picked during the execution of:
iota/crates/iota-genesis-builder/src/stake.rs
Line 349 in 3b51dac
will be put in the list of timelocks to split, here:
iota/crates/iota-genesis-builder/src/stake.rs
Line 273 in 3b51dac
however, the original timelock object is never put in the list of objects to destroy
iota/crates/iota-genesis-builder/src/stake.rs
Line 204 in 3b51dac
This basically results in cloning the object.
Suggested change:
iota/crates/iota-genesis-builder/src/stake.rs
Line 414 in 3b51dac
The text was updated successfully, but these errors were encountered: