Skip to content

Commit

Permalink
add version to morpheus constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald committed Dec 29, 2024
1 parent 42cd39a commit b7f34ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/morpheusvm/vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package vm
import (
"errors"

"github.com/ava-labs/avalanchego/version"
"github.com/ava-labs/hypersdk/auth"
"github.com/ava-labs/hypersdk/chain"
"github.com/ava-labs/hypersdk/codec"
Expand Down Expand Up @@ -56,6 +57,7 @@ func init() {
func New(options ...vm.Option) (*vm.VM, error) {
options = append(options, With()) // Add MorpheusVM API
return defaultvm.New(
&version.Semantic{Major: 0, Minor: 0, Patch: 1},
genesis.DefaultGenesisFactory{},
&storage.BalanceHandler{},
metadata.NewDefaultManager(),
Expand Down

0 comments on commit b7f34ef

Please sign in to comment.