v1.27.0-a #10
@ -193,7 +193,7 @@ func (sm *StateManager) setupPostCalicoVesting(ctx context.Context) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetVestedFunds returns all funds that have "left" actors that are in the genesis state:
|
// GetFilVested returns all funds that have "left" actors that are in the genesis state:
|
||||||
// - For Multisigs, it counts the actual amounts that have vested at the given epoch
|
// - For Multisigs, it counts the actual amounts that have vested at the given epoch
|
||||||
// - For Accounts, it counts max(currentBalance - genesisBalance, 0).
|
// - For Accounts, it counts max(currentBalance - genesisBalance, 0).
|
||||||
func (sm *StateManager) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) {
|
func (sm *StateManager) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) {
|
||||||
|
@ -1204,7 +1204,7 @@ func TestSyncManualBadTS(t *testing.T) {
|
|||||||
tu.compareSourceState(client)
|
tu.compareSourceState(client)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestState tests fetching the sync worker state before, during & after the sync
|
// TestSyncState tests fetching the sync worker state before, during & after the sync
|
||||||
func TestSyncState(t *testing.T) {
|
func TestSyncState(t *testing.T) {
|
||||||
H := 50
|
H := 50
|
||||||
tu := prepSyncTest(t, H)
|
tu := prepSyncTest(t, H)
|
||||||
|
@ -99,7 +99,7 @@ func NewBlockBuilder(ctx context.Context, logger *zap.SugaredLogger, sm *stmgr.S
|
|||||||
return bb, nil
|
return bb, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// PushMessages tries to push the specified message into the block.
|
// PushMessage tries to push the specified message into the block.
|
||||||
//
|
//
|
||||||
// 1. All messages will be executed in-order.
|
// 1. All messages will be executed in-order.
|
||||||
// 2. Gas computation & nonce selection will be handled internally.
|
// 2. Gas computation & nonce selection will be handled internally.
|
||||||
|
Loading…
Reference in New Issue
Block a user