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
Currently the simulation of settlement is part of the Settlement constructor (encode function). As I tend to agree that successful simulation is needed for a settlement to be valid and exist, we need a way to resimulate settlement because settlement being valid at time X (simulate successfully) is not a guarantee that it will be also valid at time X + y seconds.
Other motivation might come from the (potential) need to resimulate all settlements on each block to have most accurate gas estimations.
Details
Maybe implementing function with a signature of
pub fn resimulate(self, ...) -> Option<Self> {
// TODO
}
The text was updated successfully, but these errors were encountered:
Background
Currently the simulation of settlement is part of the
Settlement
constructor (encode
function). As I tend to agree that successful simulation is needed for a settlement to be valid and exist, we need a way to resimulate settlement because settlement being valid at time X (simulate successfully) is not a guarantee that it will be also valid at time X + y seconds.Other motivation might come from the (potential) need to resimulate all settlements on each block to have most accurate gas estimations.
Details
Maybe implementing function with a signature of
The text was updated successfully, but these errors were encountered: