Rename beacon-chain/core/state to beacon-chain/core/transition pkg (#9530)

* Move, refactor, fix

* @rkapka PR feedback: revert irrelevant changes

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Preston Van Loon
2021-09-08 06:41:47 -04:00
committed by GitHub
parent bc551b7e30
commit b586d3784b
99 changed files with 368 additions and 368 deletions

View File

@@ -11,7 +11,7 @@ import (
fssz "github.com/ferranbt/fastssz"
"github.com/kr/pretty"
"github.com/prysmaticlabs/prysm/beacon-chain/core/state"
"github.com/prysmaticlabs/prysm/beacon-chain/core/transition"
v1 "github.com/prysmaticlabs/prysm/beacon-chain/state/v1"
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
"github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper"
@@ -175,7 +175,7 @@ func main() {
blkRoot,
preStateRoot,
)
postState, err := state.ExecuteStateTransition(context.Background(), stateObj, wrapper.WrappedPhase0SignedBeaconBlock(block))
postState, err := transition.ExecuteStateTransition(context.Background(), stateObj, wrapper.WrappedPhase0SignedBeaconBlock(block))
if err != nil {
log.Fatal(err)
}