Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
try this?
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear committed Oct 22, 2023
1 parent 8a2aff3 commit bf383e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cosmos/x/evm/plugins/state/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ func (p *plugin) Finalize() {
// CreateAccount implements the `StatePlugin` interface by creating a new account
// in the account keeper. It will allow accounts to be overridden.
func (p *plugin) CreateAccount(addr common.Address) {
acc := p.ak.NewAccountWithAddress(p.ctx, addr[:])
acc := p.ak.GetAccount(p.ctx, addr[:])
if acc == nil {
acc = p.ak.NewAccountWithAddress(p.ctx, addr[:])
}

// save the new account in the account keeper
p.ak.SetAccount(p.ctx, acc)
Expand Down
1 change: 1 addition & 0 deletions e2e/testapp/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ services:
ipv4_address: 192.168.10.13

nginx:
depends_on: [ node0, node1, node2, node3 ]
container_name: nginx
image: nginx:latest
ports:
Expand Down

0 comments on commit bf383e7

Please sign in to comment.