Forking & Retracing
// current state: foo
let poolStateId: string = configurableCorePool.getPoolState().id;
// some transactions...
// current state: bar
configurableCorePool.recover(poolStateId);
// current state: foo// current state: foo
let poolStateId: string = configurableCorePool.getPoolState().id;
// one transaction...
// current state: bar
configurableCorePool.stepBack();
// current state: foolet forkedConfigurableCorePool: ConfigurableCorePool =
configurableCorePool.fork();
// some transactions with configurableCorePool...
// some transactions with forkedConfigurableCorePool...Last updated