Skip to content

Commit

Permalink
Generate artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal authored and dusannosovic-ethernal committed Jul 3, 2024
1 parent 2688bb3 commit 9ec8c57
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blade-contracts
4 changes: 4 additions & 0 deletions consensus/polybft/contractsapi/artifacts-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ func main() {
"blade/governance/ChildTimelock.sol",
"ChildTimelock",
},
{
"blade/accountAbstraction/EntryPoint.sol",
"EntryPoint",
},
}

str := `// This is auto-generated file. DO NOT EDIT.
Expand Down
1 change: 1 addition & 0 deletions consensus/polybft/contractsapi/gen_sc_data.go

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions consensus/polybft/contractsapi/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ var (
ChildGovernor *contracts.Artifact
ChildTimelock *contracts.Artifact

// Account Abstraction
EntryPoint *contracts.Artifact

// test smart contracts
//go:embed test-contracts/*
testContracts embed.FS
Expand Down Expand Up @@ -342,6 +345,11 @@ func init() {
log.Fatal(err)
}

EntryPoint, err = contracts.DecodeArtifact([]byte(EntryPointArtifact))
if err != nil {
log.Fatal(err)
}

contractArtifacts = map[string]*contracts.Artifact{
"CheckpointManager": CheckpointManager,
"ExitHelper": ExitHelper,
Expand Down

0 comments on commit 9ec8c57

Please sign in to comment.