Skip to content

Instantly share code, notes, and snippets.

@beer-1
Created November 26, 2024 09:45
Show Gist options
  • Save beer-1/a6c253099c45df83b9d5237106f7ee3a to your computer and use it in GitHub Desktop.
Save beer-1/a6c253099c45df83b9d5237106f7ee3a to your computer and use it in GitHub Desktop.
race condition test logs
2024-11-26T09:16:40.3464443Z ##[group]Run go test ./... -mod=readonly -timeout 12m -race -coverprofile=coverage.txt -covermode=atomic -tags='ledger test_ledger_mock'
2024-11-26T09:16:40.3465717Z go test ./... -mod=readonly -timeout 12m -race -coverprofile=coverage.txt -covermode=atomic -tags='ledger test_ledger_mock'
2024-11-26T09:16:40.3524070Z shell: /usr/bin/bash -e {0}
2024-11-26T09:16:40.3524435Z env:
2024-11-26T09:16:40.3525196Z CODECOV_TOKEN: ***
2024-11-26T09:16:40.3529581Z GIT_DIFF: 'app/ante/ante_test.go' 'app/ante/fee.go' 'app/ante/fee_test.go' 'app/app.go' 'app/const.go' 'app/indexer.go' 'app/test_helpers.go' 'app/upgrade.go' 'indexer/abci_test.go' 'indexer/indexer.go' 'indexer/mempool.go' 'indexer/mempool_test.go' 'indexer/reader.go' 'indexer/reader_test.go' 'jsonrpc/backend/backend_test.go' 'jsonrpc/backend/block_test.go' 'jsonrpc/backend/cosmos_test.go' 'jsonrpc/backend/eth_test.go' 'jsonrpc/backend/feehistory.go' 'jsonrpc/backend/feehistory_test.go' 'jsonrpc/backend/filters_test.go' 'jsonrpc/backend/gas_test.go' 'jsonrpc/backend/net_test.go' 'jsonrpc/backend/tx.go' 'jsonrpc/backend/tx_test.go' 'jsonrpc/backend/txpool_test.go' 'jsonrpc/backend/web3_test.go' 'jsonrpc/namespaces/eth/api.go' 'jsonrpc/namespaces/eth/filters/api.go' 'jsonrpc/namespaces/eth/filters/api_test.go' 'tests/app_creator.go' 'tests/mock_comet.go' 'tests/tx_helper.go' 'x/evm/contracts/counter/Counter.go' 'x/evm/keeper/context_test.go' 'x/evm/keeper/erc20_stores_test.go' 'x/evm/keeper/txutils_test.go'
2024-11-26T09:16:40.3538216Z GIT_DIFF_FILTERED: 'app/ante/ante_test.go' 'app/ante/fee.go' 'app/ante/fee_test.go' 'app/app.go' 'app/const.go' 'app/indexer.go' 'app/test_helpers.go' 'app/upgrade.go' 'indexer/abci_test.go' 'indexer/indexer.go' 'indexer/mempool.go' 'indexer/mempool_test.go' 'indexer/reader.go' 'indexer/reader_test.go' 'jsonrpc/backend/backend_test.go' 'jsonrpc/backend/block_test.go' 'jsonrpc/backend/cosmos_test.go' 'jsonrpc/backend/eth_test.go' 'jsonrpc/backend/feehistory.go' 'jsonrpc/backend/feehistory_test.go' 'jsonrpc/backend/filters_test.go' 'jsonrpc/backend/gas_test.go' 'jsonrpc/backend/net_test.go' 'jsonrpc/backend/tx.go' 'jsonrpc/backend/tx_test.go' 'jsonrpc/backend/txpool_test.go' 'jsonrpc/backend/web3_test.go' 'jsonrpc/namespaces/eth/api.go' 'jsonrpc/namespaces/eth/filters/api.go' 'jsonrpc/namespaces/eth/filters/api_test.go' 'tests/app_creator.go' 'tests/mock_comet.go' 'tests/tx_helper.go' 'x/evm/contracts/counter/Counter.go' 'x/evm/keeper/context_test.go' 'x/evm/keeper/erc20_stores_test.go' 'x/evm/keeper/txutils_test.go'
2024-11-26T09:16:40.3542953Z MATCHED_FILES:
2024-11-26T09:16:40.3543353Z ##[endgroup]
2024-11-26T09:17:08.0934437Z github.com/initia-labs/minievm/api/minievm/evm/v1 coverage: 0.0% of statements
2024-11-26T09:19:36.5480296Z ok github.com/initia-labs/minievm/app 5.395s coverage: 62.3% of statements
2024-11-26T09:19:36.5501947Z github.com/initia-labs/minievm/app/keepers coverage: 0.0% of statements
2024-11-26T09:19:39.3832347Z ok github.com/initia-labs/minievm/app/ante 5.892s coverage: 35.2% of statements
2024-11-26T09:19:39.3834383Z ok github.com/initia-labs/minievm/app/ibc-hooks 3.263s coverage: 64.4% of statements
2024-11-26T09:19:53.1961046Z github.com/initia-labs/minievm/client/docs/statik coverage: 0.0% of statements
2024-11-26T09:19:58.1264993Z ok github.com/initia-labs/minievm/app/posthandler 4.896s coverage: 73.2% of statements
2024-11-26T09:20:26.2709964Z github.com/initia-labs/minievm/cmd/minitiad coverage: 0.0% of statements
2024-11-26T09:20:37.4005908Z github.com/initia-labs/minievm/jsonrpc coverage: 0.0% of statements
2024-11-26T09:20:37.4007793Z github.com/initia-labs/minievm/jsonrpc/config coverage: 0.0% of statements
2024-11-26T09:20:37.4058601Z github.com/initia-labs/minievm/jsonrpc/namespaces/cosmos coverage: 0.0% of statements
2024-11-26T09:20:37.4062683Z github.com/initia-labs/minievm/jsonrpc/namespaces/eth coverage: 0.0% of statements
2024-11-26T09:20:48.1533142Z ok github.com/initia-labs/minievm/indexer 10.717s coverage: 77.3% of statements
2024-11-26T09:20:54.3064633Z github.com/initia-labs/minievm/jsonrpc/namespaces/txpool coverage: 0.0% of statements
2024-11-26T09:20:54.3066979Z github.com/initia-labs/minievm/jsonrpc/namespaces/net coverage: 0.0% of statements
2024-11-26T09:20:54.3112151Z github.com/initia-labs/minievm/jsonrpc/namespaces/web3 coverage: 0.0% of statements
2024-11-26T09:20:55.0070704Z github.com/initia-labs/minievm/tests coverage: 0.0% of statements
2024-11-26T09:20:55.0101753Z ? github.com/initia-labs/minievm/types [no test files]
2024-11-26T09:20:55.0135981Z github.com/initia-labs/minievm/x/bank coverage: 0.0% of statements
2024-11-26T09:21:04.2428124Z github.com/initia-labs/minievm/x/evm coverage: 0.0% of statements
2024-11-26T09:21:25.7800788Z github.com/initia-labs/minievm/x/evm/client/cli coverage: 0.0% of statements
2024-11-26T09:21:25.7803137Z github.com/initia-labs/minievm/x/evm/config coverage: 0.0% of statements
2024-11-26T09:21:25.7848963Z github.com/initia-labs/minievm/x/evm/contracts/counter coverage: 0.0% of statements
2024-11-26T09:21:25.8864993Z github.com/initia-labs/minievm/x/evm/contracts/erc165 coverage: 0.0% of statements
2024-11-26T09:21:25.9019956Z github.com/initia-labs/minievm/x/evm/contracts/erc20 coverage: 0.0% of statements
2024-11-26T09:21:25.9912289Z github.com/initia-labs/minievm/x/evm/contracts/erc20_acl coverage: 0.0% of statements
2024-11-26T09:21:25.9914745Z github.com/initia-labs/minievm/x/evm/contracts/erc20_factory coverage: 0.0% of statements
2024-11-26T09:21:26.0823797Z github.com/initia-labs/minievm/x/evm/contracts/erc20_registry coverage: 0.0% of statements
2024-11-26T09:21:26.0836249Z github.com/initia-labs/minievm/x/evm/contracts/erc20_wrapper coverage: 0.0% of statements
2024-11-26T09:21:26.3399883Z github.com/initia-labs/minievm/x/evm/contracts/i_cosmos coverage: 0.0% of statements
2024-11-26T09:21:26.3402773Z github.com/initia-labs/minievm/x/evm/contracts/erc721 coverage: 0.0% of statements
2024-11-26T09:21:26.3445164Z github.com/initia-labs/minievm/x/evm/contracts/i_cosmos_callback coverage: 0.0% of statements
2024-11-26T09:21:26.4514688Z github.com/initia-labs/minievm/x/evm/contracts/i_erc165 coverage: 0.0% of statements
2024-11-26T09:21:26.5226539Z github.com/initia-labs/minievm/x/evm/contracts/i_erc20 coverage: 0.0% of statements
2024-11-26T09:21:26.5246735Z github.com/initia-labs/minievm/x/evm/contracts/i_erc20_registry coverage: 0.0% of statements
2024-11-26T09:21:26.7935296Z github.com/initia-labs/minievm/x/evm/contracts/i_erc721 coverage: 0.0% of statements
2024-11-26T09:21:26.7937300Z github.com/initia-labs/minievm/x/evm/contracts/i_ibc_async_callback coverage: 0.0% of statements
2024-11-26T09:21:26.7989342Z github.com/initia-labs/minievm/x/evm/contracts/initia_erc20 coverage: 0.0% of statements
2024-11-26T09:21:26.7991526Z github.com/initia-labs/minievm/x/evm/contracts/ics721_erc721 coverage: 0.0% of statements
2024-11-26T09:21:27.0060880Z github.com/initia-labs/minievm/x/evm/contracts/ownable coverage: 0.0% of statements
2024-11-26T09:21:27.0069431Z github.com/initia-labs/minievm/x/evm/contracts/strings coverage: 0.0% of statements
2024-11-26T09:21:27.1281138Z github.com/initia-labs/minievm/x/evm/contracts/utils coverage: 0.0% of statements
2024-11-26T09:21:40.4007970Z ==================
2024-11-26T09:21:40.4009063Z WARNING: DATA RACE
2024-11-26T09:21:40.4010147Z Read at 0x00c08ef94e20 by goroutine 4277:
2024-11-26T09:21:40.4089928Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.4288263Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:441 +0x4c
2024-11-26T09:21:40.4289595Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.4291200Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.4292862Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.4294572Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.4296278Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.4298108Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.4299613Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.4301220Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.4302983Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.4304476Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.4306073Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.4307582Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.4308309Z
2024-11-26T09:21:40.4308623Z Previous write at 0x00c08ef94e20 by goroutine 3767:
2024-11-26T09:21:40.4309615Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.4310917Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x3b0
2024-11-26T09:21:40.4312553Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.4314084Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.4315367Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.4316626Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.4317910Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4319263Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:27 +0x2af
2024-11-26T09:21:40.4320339Z testing.tRunner()
2024-11-26T09:21:40.4321865Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4323126Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4324786Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4325830Z
2024-11-26T09:21:40.4326059Z Goroutine 4277 (running) created at:
2024-11-26T09:21:40.4327123Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.4328636Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.4330000Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.4331396Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.4332889Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4334288Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:21 +0x3e
2024-11-26T09:21:40.4335260Z testing.tRunner()
2024-11-26T09:21:40.4336831Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4338374Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4340234Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4341369Z
2024-11-26T09:21:40.4341669Z Goroutine 3767 (running) created at:
2024-11-26T09:21:40.4342341Z testing.(*T).Run()
2024-11-26T09:21:40.4343939Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.4345365Z testing.runTests.func1()
2024-11-26T09:21:40.4347307Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.4348615Z testing.tRunner()
2024-11-26T09:21:40.4350429Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4352431Z testing.runTests()
2024-11-26T09:21:40.4354330Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.4355924Z testing.(*M).Run()
2024-11-26T09:21:40.4357611Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.4359024Z main.main()
2024-11-26T09:21:40.4359723Z _testmain.go:119 +0x164
2024-11-26T09:21:40.4360300Z ==================
2024-11-26T09:21:40.4360935Z ==================
2024-11-26T09:21:40.4361781Z WARNING: DATA RACE
2024-11-26T09:21:40.4362414Z Read at 0x00c09a8583c0 by goroutine 4277:
2024-11-26T09:21:40.4363403Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.4364835Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x92
2024-11-26T09:21:40.4366159Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.4367701Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.4369229Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.4371200Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.4373085Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.4374666Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.4376286Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.4378155Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.4379796Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.4381469Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.4383266Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.4384816Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.4385738Z
2024-11-26T09:21:40.4386255Z Previous write at 0x00c09a8583c0 by goroutine 3767:
2024-11-26T09:21:40.4387312Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.4388706Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1216 +0x458
2024-11-26T09:21:40.4389851Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.4391329Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.4392855Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.4394600Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.4395908Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.4397088Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.4398494Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4400030Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:27 +0x2af
2024-11-26T09:21:40.4401004Z testing.tRunner()
2024-11-26T09:21:40.4402741Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4404069Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4405706Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4406820Z
2024-11-26T09:21:40.4407130Z Goroutine 4277 (running) created at:
2024-11-26T09:21:40.4408170Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.4409606Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.4411091Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.4412539Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.4413936Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4415775Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:21 +0x3e
2024-11-26T09:21:40.4416837Z testing.tRunner()
2024-11-26T09:21:40.4418553Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4419822Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4421686Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4422793Z
2024-11-26T09:21:40.4423133Z Goroutine 3767 (running) created at:
2024-11-26T09:21:40.4423801Z testing.(*T).Run()
2024-11-26T09:21:40.4425342Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.4426709Z testing.runTests.func1()
2024-11-26T09:21:40.4428304Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.4429563Z testing.tRunner()
2024-11-26T09:21:40.4431164Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4464927Z testing.runTests()
2024-11-26T09:21:40.4469718Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.4492536Z testing.(*M).Run()
2024-11-26T09:21:40.4494309Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.4495649Z main.main()
2024-11-26T09:21:40.4496462Z _testmain.go:119 +0x164
2024-11-26T09:21:40.4497113Z ==================
2024-11-26T09:21:40.4497617Z ==================
2024-11-26T09:21:40.4498311Z WARNING: DATA RACE
2024-11-26T09:21:40.4498988Z Read at 0x00c09a82e948 by goroutine 4277:
2024-11-26T09:21:40.4499940Z cosmossdk.io/store/types.CommitInfo.toMap()
2024-11-26T09:21:40.4501470Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:24 +0x250
2024-11-26T09:21:40.4502731Z cosmossdk.io/store/types.CommitInfo.Hash()
2024-11-26T09:21:40.4504121Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:39 +0x74
2024-11-26T09:21:40.4505505Z cosmossdk.io/store/types.CommitInfo.CommitID()
2024-11-26T09:21:40.4506896Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:60 +0x134
2024-11-26T09:21:40.4508151Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.4509625Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x66
2024-11-26T09:21:40.4510869Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.4512364Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.4513984Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.4515722Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.4517524Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.4519005Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.4520513Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.4522176Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.4523749Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.4525287Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.4526860Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.4528398Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.4529133Z
2024-11-26T09:21:40.4529501Z Previous write at 0x00c09a82e948 by goroutine 3767:
2024-11-26T09:21:40.4530490Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.4532401Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1208 +0x336
2024-11-26T09:21:40.4533634Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.4535087Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.4536415Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.4538228Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.4539684Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.4540874Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.4542223Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4543720Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:27 +0x2af
2024-11-26T09:21:40.4544732Z testing.tRunner()
2024-11-26T09:21:40.4546294Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4547664Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4549312Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4550347Z
2024-11-26T09:21:40.4550583Z Goroutine 4277 (running) created at:
2024-11-26T09:21:40.4551913Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.4553391Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.4554901Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.4556350Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.4557860Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4559422Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:21 +0x3e
2024-11-26T09:21:40.4560554Z testing.tRunner()
2024-11-26T09:21:40.4562114Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4563529Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4565331Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4566388Z
2024-11-26T09:21:40.4566694Z Goroutine 3767 (running) created at:
2024-11-26T09:21:40.4567466Z testing.(*T).Run()
2024-11-26T09:21:40.4569153Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.4570478Z testing.runTests.func1()
2024-11-26T09:21:40.4572254Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.4573496Z testing.tRunner()
2024-11-26T09:21:40.4575060Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4576516Z testing.runTests()
2024-11-26T09:21:40.4578198Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.4579449Z testing.(*M).Run()
2024-11-26T09:21:40.4581282Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.4582683Z main.main()
2024-11-26T09:21:40.4583360Z _testmain.go:119 +0x164
2024-11-26T09:21:40.4584073Z ==================
2024-11-26T09:21:40.4584626Z ==================
2024-11-26T09:21:40.4585188Z WARNING: DATA RACE
2024-11-26T09:21:40.4585933Z Read at 0x00c09a80dde0 by goroutine 4277:
2024-11-26T09:21:40.4586651Z runtime.slicecopy()
2024-11-26T09:21:40.4588269Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/slice.go:355 +0x0
2024-11-26T09:21:40.4589698Z crypto/sha256.(*digest).Write()
2024-11-26T09:21:40.4592980Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:193 +0x2a4
2024-11-26T09:21:40.4647970Z crypto/sha256.Sum256()
2024-11-26T09:21:40.4649980Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:254 +0x9e
2024-11-26T09:21:40.4651467Z github.com/cometbft/cometbft/crypto/tmhash.Sum()
2024-11-26T09:21:40.4654040Z /home/runner/go/pkg/mod/github.com/initia-labs/cometbft@v0.0.0-20241113064430-a371e2dc387f/crypto/tmhash/hash.go:20 +0xda
2024-11-26T09:21:40.4655601Z cosmossdk.io/store/internal/maps.(*simpleMap).Set()
2024-11-26T09:21:40.4657066Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/internal/maps/maps.go:100 +0xa9
2024-11-26T09:21:40.4658436Z cosmossdk.io/store/internal/maps.ProofsFromMap()
2024-11-26T09:21:40.4659893Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/internal/maps/maps.go:190 +0x152
2024-11-26T09:21:40.4661090Z cosmossdk.io/store/types.CommitInfo.Hash()
2024-11-26T09:21:40.4662619Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:39 +0x344
2024-11-26T09:21:40.4663902Z cosmossdk.io/store/types.CommitInfo.CommitID()
2024-11-26T09:21:40.4665334Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:60 +0x134
2024-11-26T09:21:40.4666691Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.4668088Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x66
2024-11-26T09:21:40.4669429Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.4671002Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.4674576Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.4676669Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.4678776Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.4680532Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.4682281Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.4684298Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.4686010Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.4687753Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.4689467Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.4690930Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.4691694Z
2024-11-26T09:21:40.4691994Z Previous write at 0x00c09a80dde0 by goroutine 3767:
2024-11-26T09:21:40.4693145Z runtime.slicecopy()
2024-11-26T09:21:40.4694756Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/slice.go:355 +0x0
2024-11-26T09:21:40.4696926Z crypto/sha256.(*digest).Sum()
2024-11-26T09:21:40.4698511Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:206 +0x21d
2024-11-26T09:21:40.4699837Z github.com/cosmos/iavl.(*Node).hashWithCount()
2024-11-26T09:21:40.4701084Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/node.go:446 +0x135
2024-11-26T09:21:40.4702109Z github.com/cosmos/iavl.(*ImmutableTree).Hash()
2024-11-26T09:21:40.4703339Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/immutable_tree.go:154 +0x1732
2024-11-26T09:21:40.4704493Z github.com/cosmos/iavl.(*MutableTree).Hash()
2024-11-26T09:21:40.4705806Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/mutable_tree.go:135 +0x16bb
2024-11-26T09:21:40.4706906Z github.com/cosmos/iavl.(*MutableTree).SaveVersion()
2024-11-26T09:21:40.4708189Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/mutable_tree.go:774 +0x1745
2024-11-26T09:21:40.4709559Z cosmossdk.io/store/iavl.(*Store).Commit()
2024-11-26T09:21:40.4710754Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/iavl/store.go:126 +0x10e
2024-11-26T09:21:40.4712177Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.4713405Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1196 +0x196
2024-11-26T09:21:40.4714710Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.4716074Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.4717312Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.4718818Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.4720138Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.4721246Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.4722480Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4723866Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:27 +0x2af
2024-11-26T09:21:40.4724787Z testing.tRunner()
2024-11-26T09:21:40.4726261Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4727565Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4729013Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4730001Z
2024-11-26T09:21:40.4730222Z Goroutine 4277 (running) created at:
2024-11-26T09:21:40.4731309Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.4732678Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.4734117Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.4735424Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.4736790Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4738206Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:21 +0x3e
2024-11-26T09:21:40.4739126Z testing.tRunner()
2024-11-26T09:21:40.4740571Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4741848Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4743339Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4744313Z
2024-11-26T09:21:40.4744612Z Goroutine 3767 (running) created at:
2024-11-26T09:21:40.4745326Z testing.(*T).Run()
2024-11-26T09:21:40.4746960Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.4748324Z testing.runTests.func1()
2024-11-26T09:21:40.4750035Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.4751282Z testing.tRunner()
2024-11-26T09:21:40.4759253Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4761214Z testing.runTests()
2024-11-26T09:21:40.4916734Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.4918083Z testing.(*M).Run()
2024-11-26T09:21:40.4919683Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.4920845Z main.main()
2024-11-26T09:21:40.4921366Z _testmain.go:119 +0x164
2024-11-26T09:21:40.4921859Z ==================
2024-11-26T09:21:40.4922234Z ==================
2024-11-26T09:21:40.4922616Z WARNING: DATA RACE
2024-11-26T09:21:40.4923096Z Read at 0x00c08ef33c20 by goroutine 4277:
2024-11-26T09:21:40.4924553Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.4926229Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1233 +0x2e4
2024-11-26T09:21:40.4927779Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.4929135Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.4930781Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.4932244Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.4933619Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.4935053Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.4936466Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.4937930Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.4938669Z
2024-11-26T09:21:40.4938968Z Previous write at 0x00c08ef33c20 by goroutine 3767:
2024-11-26T09:21:40.4939975Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).setState()
2024-11-26T09:21:40.4941576Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/baseapp.go:497 +0x7f6
2024-11-26T09:21:40.4942953Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.4944422Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:956 +0x59a
2024-11-26T09:21:40.4945667Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.4946799Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.4948083Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4949491Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:27 +0x2af
2024-11-26T09:21:40.4950376Z testing.tRunner()
2024-11-26T09:21:40.4952370Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.4953917Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.4955533Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.4956540Z
2024-11-26T09:21:40.4956769Z Goroutine 4277 (running) created at:
2024-11-26T09:21:40.4957802Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.4959204Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.4960813Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.4962204Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.4963567Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_GetBalance()
2024-11-26T09:21:40.4964941Z /home/runner/work/minievm/minievm/jsonrpc/backend/eth_test.go:21 +0x3e
2024-11-26T09:21:40.4965873Z testing.tRunner()
2024-11-26T09:21:40.5007003Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5008302Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5009942Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5010938Z
2024-11-26T09:21:40.5011162Z Goroutine 3767 (running) created at:
2024-11-26T09:21:40.5013622Z testing.(*T).Run()
2024-11-26T09:21:40.5153940Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5155556Z testing.runTests.func1()
2024-11-26T09:21:40.5157142Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.5158322Z testing.tRunner()
2024-11-26T09:21:40.5159781Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5161365Z testing.runTests()
2024-11-26T09:21:40.5162821Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.5163966Z testing.(*M).Run()
2024-11-26T09:21:40.5165408Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.5166776Z main.main()
2024-11-26T09:21:40.5167261Z _testmain.go:119 +0x164
2024-11-26T09:21:40.5167727Z ==================
2024-11-26T09:21:40.5168234Z --- FAIL: Test_GetBalance (4.41s)
2024-11-26T09:21:40.5169031Z testing.go:1399: race detected during execution of test
2024-11-26T09:21:40.5169691Z ==================
2024-11-26T09:21:40.5170090Z WARNING: DATA RACE
2024-11-26T09:21:40.5170558Z Read at 0x00c1442b6820 by goroutine 9066:
2024-11-26T09:21:40.5171318Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.5172583Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:441 +0x4c
2024-11-26T09:21:40.5173683Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.5174916Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.5176232Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.5177843Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.5179344Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.5180690Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.5182070Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.5183523Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.5184941Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.5186373Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.5187765Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.5189126Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.5189845Z
2024-11-26T09:21:40.5190127Z Previous write at 0x00c1442b6820 by goroutine 8556:
2024-11-26T09:21:40.5190899Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.5192340Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x3b0
2024-11-26T09:21:40.5193571Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.5195048Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.5196253Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.5197310Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.5198535Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5199851Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:65 +0x9e9
2024-11-26T09:21:40.5200649Z testing.tRunner()
2024-11-26T09:21:40.5201952Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5202987Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5204281Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5205126Z
2024-11-26T09:21:40.5205305Z Goroutine 9066 (running) created at:
2024-11-26T09:21:40.5206152Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.5207319Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.5208428Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.5209868Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.5211046Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5212217Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:47 +0x3e
2024-11-26T09:21:40.5212978Z testing.tRunner()
2024-11-26T09:21:40.5214445Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5215485Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5216818Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5217651Z
2024-11-26T09:21:40.5217839Z Goroutine 8556 (running) created at:
2024-11-26T09:21:40.5218326Z testing.(*T).Run()
2024-11-26T09:21:40.5219594Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5220623Z testing.runTests.func1()
2024-11-26T09:21:40.5221913Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.5222901Z testing.tRunner()
2024-11-26T09:21:40.5224159Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5225172Z testing.runTests()
2024-11-26T09:21:40.5226437Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.5227424Z testing.(*M).Run()
2024-11-26T09:21:40.5228682Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.5229664Z main.main()
2024-11-26T09:21:40.5230104Z _testmain.go:119 +0x164
2024-11-26T09:21:40.5230509Z ==================
2024-11-26T09:21:40.5230846Z ==================
2024-11-26T09:21:40.5231197Z WARNING: DATA RACE
2024-11-26T09:21:40.5231613Z Read at 0x00c08ef87a40 by goroutine 9066:
2024-11-26T09:21:40.5319364Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.5320667Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x92
2024-11-26T09:21:40.5321769Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.5322996Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.5324407Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.5326016Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.5327523Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.5328871Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.5330226Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.5331668Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.5333026Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.5334419Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.5335766Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.5337129Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.5337834Z
2024-11-26T09:21:40.5338111Z Previous write at 0x00c08ef87a40 by goroutine 8556:
2024-11-26T09:21:40.5338863Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.5340036Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1216 +0x458
2024-11-26T09:21:40.5341065Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.5342248Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.5343719Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.5345182Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.5346377Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.5347426Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.5348824Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5350156Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:65 +0x9e9
2024-11-26T09:21:40.5351021Z testing.tRunner()
2024-11-26T09:21:40.5384432Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5387506Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5390930Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5392552Z
2024-11-26T09:21:40.5392793Z Goroutine 9066 (running) created at:
2024-11-26T09:21:40.5394040Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.5395624Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.5397147Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.5405301Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.5408612Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5411848Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:47 +0x3e
2024-11-26T09:21:40.5412747Z testing.tRunner()
2024-11-26T09:21:40.5416066Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5419072Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5422414Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5425206Z
2024-11-26T09:21:40.5425418Z Goroutine 8556 (running) created at:
2024-11-26T09:21:40.5427768Z testing.(*T).Run()
2024-11-26T09:21:40.5431047Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5453129Z testing.runTests.func1()
2024-11-26T09:21:40.5454829Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.5456028Z testing.tRunner()
2024-11-26T09:21:40.5457824Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5459033Z testing.runTests()
2024-11-26T09:21:40.5460514Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.5461649Z testing.(*M).Run()
2024-11-26T09:21:40.5463076Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.5464196Z main.main()
2024-11-26T09:21:40.5464681Z _testmain.go:119 +0x164
2024-11-26T09:21:40.5465140Z ==================
2024-11-26T09:21:40.5465509Z ==================
2024-11-26T09:21:40.5465902Z WARNING: DATA RACE
2024-11-26T09:21:40.5466369Z Read at 0x00c025e81fa8 by goroutine 9066:
2024-11-26T09:21:40.5467064Z cosmossdk.io/store/types.CommitInfo.toMap()
2024-11-26T09:21:40.5468263Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:24 +0x250
2024-11-26T09:21:40.5469289Z cosmossdk.io/store/types.CommitInfo.Hash()
2024-11-26T09:21:40.5470473Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:39 +0x74
2024-11-26T09:21:40.5471512Z cosmossdk.io/store/types.CommitInfo.CommitID()
2024-11-26T09:21:40.5472926Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:60 +0x134
2024-11-26T09:21:40.5474031Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.5475617Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x66
2024-11-26T09:21:40.5476708Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.5477941Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.5479325Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.5481236Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.5482790Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.5484181Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.5485603Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.5487091Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.5488516Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.5489918Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.5491391Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.5492825Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.5493519Z
2024-11-26T09:21:40.5515815Z Previous write at 0x00c025e81fa8 by goroutine 8556:
2024-11-26T09:21:40.5516705Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.5517962Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1208 +0x336
2024-11-26T09:21:40.5519077Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.5520307Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.5521613Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.5523207Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.5524506Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.5525629Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.5533153Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5555397Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:65 +0x9e9
2024-11-26T09:21:40.5556336Z testing.tRunner()
2024-11-26T09:21:40.5558287Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5559533Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5561116Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5562090Z
2024-11-26T09:21:40.5562307Z Goroutine 9066 (running) created at:
2024-11-26T09:21:40.5563310Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.5564688Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.5566048Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.5567446Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.5568827Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5570185Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:47 +0x3e
2024-11-26T09:21:40.5571061Z testing.tRunner()
2024-11-26T09:21:40.5572575Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5588378Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5590110Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5591114Z
2024-11-26T09:21:40.5591395Z Goroutine 8556 (running) created at:
2024-11-26T09:21:40.5592582Z testing.(*T).Run()
2024-11-26T09:21:40.5594144Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5595380Z testing.runTests.func1()
2024-11-26T09:21:40.5596955Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.5598444Z testing.tRunner()
2024-11-26T09:21:40.5599975Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5601178Z testing.runTests()
2024-11-26T09:21:40.5602705Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.5603880Z testing.(*M).Run()
2024-11-26T09:21:40.5605377Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.5606551Z main.main()
2024-11-26T09:21:40.5607072Z _testmain.go:119 +0x164
2024-11-26T09:21:40.5607555Z ==================
2024-11-26T09:21:40.5607944Z ==================
2024-11-26T09:21:40.5608337Z WARNING: DATA RACE
2024-11-26T09:21:40.5608817Z Read at 0x00c03ad7f5e0 by goroutine 9066:
2024-11-26T09:21:40.5609427Z runtime.slicecopy()
2024-11-26T09:21:40.5610887Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/slice.go:355 +0x0
2024-11-26T09:21:40.5612065Z crypto/sha256.(*digest).Write()
2024-11-26T09:21:40.5613681Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:193 +0x2a4
2024-11-26T09:21:40.5614860Z crypto/sha256.Sum256()
2024-11-26T09:21:40.5616447Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:254 +0x9e
2024-11-26T09:21:40.5617799Z github.com/cometbft/cometbft/crypto/tmhash.Sum()
2024-11-26T09:21:40.5619680Z /home/runner/go/pkg/mod/github.com/initia-labs/cometbft@v0.0.0-20241113064430-a371e2dc387f/crypto/tmhash/hash.go:20 +0xda
2024-11-26T09:21:40.5621142Z cosmossdk.io/store/internal/maps.(*simpleMap).Set()
2024-11-26T09:21:40.5622412Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/internal/maps/maps.go:100 +0xa9
2024-11-26T09:21:40.5623508Z cosmossdk.io/store/internal/maps.ProofsFromMap()
2024-11-26T09:21:40.5624817Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/internal/maps/maps.go:190 +0x152
2024-11-26T09:21:40.5625888Z cosmossdk.io/store/types.CommitInfo.Hash()
2024-11-26T09:21:40.5627135Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:39 +0x344
2024-11-26T09:21:40.5628224Z cosmossdk.io/store/types.CommitInfo.CommitID()
2024-11-26T09:21:40.5629488Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/types/commit_info.go:60 +0x134
2024-11-26T09:21:40.5630608Z cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
2024-11-26T09:21:40.5632145Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:449 +0x66
2024-11-26T09:21:40.5633280Z cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
2024-11-26T09:21:40.5634560Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:436 +0x26
2024-11-26T09:21:40.5635965Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.5637638Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1197 +0x1a9
2024-11-26T09:21:40.5639185Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.5640583Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.5642057Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.5643542Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.5644960Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.5646696Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.5648123Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.5649538Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.5650257Z
2024-11-26T09:21:40.5650564Z Previous write at 0x00c03ad7f5e0 by goroutine 8556:
2024-11-26T09:21:40.5651580Z runtime.slicecopy()
2024-11-26T09:21:40.5653051Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/slice.go:355 +0x0
2024-11-26T09:21:40.5672959Z crypto/sha256.(*digest).Sum()
2024-11-26T09:21:40.5692189Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/crypto/sha256/sha256.go:206 +0x21d
2024-11-26T09:21:40.5693526Z github.com/cosmos/iavl.(*Node).hashWithCount()
2024-11-26T09:21:40.5694642Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/node.go:446 +0x135
2024-11-26T09:21:40.5695629Z github.com/cosmos/iavl.(*ImmutableTree).Hash()
2024-11-26T09:21:40.5696857Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/immutable_tree.go:154 +0x1732
2024-11-26T09:21:40.5697903Z github.com/cosmos/iavl.(*MutableTree).Hash()
2024-11-26T09:21:40.5699078Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/mutable_tree.go:135 +0x16bb
2024-11-26T09:21:40.5700158Z github.com/cosmos/iavl.(*MutableTree).SaveVersion()
2024-11-26T09:21:40.5701391Z /home/runner/go/pkg/mod/github.com/cosmos/iavl@v1.1.4/mutable_tree.go:774 +0x1745
2024-11-26T09:21:40.5702394Z cosmossdk.io/store/iavl.(*Store).Commit()
2024-11-26T09:21:40.5710536Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/iavl/store.go:126 +0x10e
2024-11-26T09:21:40.5711611Z cosmossdk.io/store/rootmulti.commitStores()
2024-11-26T09:21:40.5713166Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:1196 +0x196
2024-11-26T09:21:40.5869191Z cosmossdk.io/store/rootmulti.(*Store).Commit()
2024-11-26T09:21:40.5870579Z /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.1/rootmulti/store.go:482 +0x39b
2024-11-26T09:21:40.5872195Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.5873800Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:933 +0x3da
2024-11-26T09:21:40.5875038Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.5876188Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.5877474Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5878834Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:65 +0x9e9
2024-11-26T09:21:40.5879753Z testing.tRunner()
2024-11-26T09:21:40.5881290Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5882473Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5884021Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5885012Z
2024-11-26T09:21:40.5885224Z Goroutine 9066 (running) created at:
2024-11-26T09:21:40.5886229Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.5887563Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.5888861Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.5890268Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.5891750Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5893169Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:47 +0x3e
2024-11-26T09:21:40.5894075Z testing.tRunner()
2024-11-26T09:21:40.5895583Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5897283Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5898875Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5899874Z
2024-11-26T09:21:40.5900100Z Goroutine 8556 (running) created at:
2024-11-26T09:21:40.5900682Z testing.(*T).Run()
2024-11-26T09:21:40.5902231Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5903718Z testing.runTests.func1()
2024-11-26T09:21:40.5905303Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.5906445Z testing.tRunner()
2024-11-26T09:21:40.5907925Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5909136Z testing.runTests()
2024-11-26T09:21:40.5910668Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.5912066Z testing.(*M).Run()
2024-11-26T09:21:40.5913627Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.5914788Z main.main()
2024-11-26T09:21:40.5915299Z _testmain.go:119 +0x164
2024-11-26T09:21:40.5915763Z ==================
2024-11-26T09:21:40.5916163Z ==================
2024-11-26T09:21:40.5916562Z WARNING: DATA RACE
2024-11-26T09:21:40.5917033Z Read at 0x00c1442be7e0 by goroutine 9066:
2024-11-26T09:21:40.5918063Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
2024-11-26T09:21:40.5919751Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:1233 +0x2e4
2024-11-26T09:21:40.5921340Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).getQueryCtx()
2024-11-26T09:21:40.5922698Z /home/runner/work/minievm/minievm/jsonrpc/backend/tx.go:118 +0x192
2024-11-26T09:21:40.5924136Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher.func1()
2024-11-26T09:21:40.5925663Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:149 +0xba
2024-11-26T09:21:40.5927100Z github.com/initia-labs/minievm/jsonrpc/backend.(*JSONRPCBackend).feeFetcher()
2024-11-26T09:21:40.5928568Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:179 +0x270
2024-11-26T09:21:40.5929988Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend.gowrap1()
2024-11-26T09:21:40.5931433Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x33
2024-11-26T09:21:40.5932117Z
2024-11-26T09:21:40.5932415Z Previous write at 0x00c1442be7e0 by goroutine 8556:
2024-11-26T09:21:40.5933452Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).setState()
2024-11-26T09:21:40.5935041Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/baseapp.go:497 +0x7f6
2024-11-26T09:21:40.5936420Z github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Commit()
2024-11-26T09:21:40.5937961Z /home/runner/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.10/baseapp/abci.go:956 +0x59a
2024-11-26T09:21:40.5939213Z github.com/initia-labs/minievm/tests.ExecuteTxs()
2024-11-26T09:21:40.5940351Z /home/runner/work/minievm/minievm/tests/tx_helper.go:206 +0x4f4
2024-11-26T09:21:40.5941605Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5943000Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:65 +0x9e9
2024-11-26T09:21:40.5943917Z testing.tRunner()
2024-11-26T09:21:40.5945440Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5946641Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5948182Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5949165Z
2024-11-26T09:21:40.5949376Z Goroutine 9066 (running) created at:
2024-11-26T09:21:40.5950376Z github.com/initia-labs/minievm/jsonrpc/backend.NewJSONRPCBackend()
2024-11-26T09:21:40.5952252Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend.go:125 +0x154d
2024-11-26T09:21:40.5953605Z github.com/initia-labs/minievm/jsonrpc/backend_test.setupBackend()
2024-11-26T09:21:40.5954997Z /home/runner/work/minievm/minievm/jsonrpc/backend/backend_test.go:50 +0x684
2024-11-26T09:21:40.5956644Z github.com/initia-labs/minievm/jsonrpc/backend_test.Test_EstimateGas()
2024-11-26T09:21:40.5958015Z /home/runner/work/minievm/minievm/jsonrpc/backend/gas_test.go:47 +0x3e
2024-11-26T09:21:40.5958934Z testing.tRunner()
2024-11-26T09:21:40.5960438Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.5961636Z testing.(*T).Run.gowrap1()
2024-11-26T09:21:40.5963136Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x44
2024-11-26T09:21:40.5964146Z
2024-11-26T09:21:40.5964369Z Goroutine 8556 (running) created at:
2024-11-26T09:21:40.5964952Z testing.(*T).Run()
2024-11-26T09:21:40.5966443Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x825
2024-11-26T09:21:40.5967639Z testing.runTests.func1()
2024-11-26T09:21:40.6070538Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2168 +0x85
2024-11-26T09:21:40.6071942Z testing.tRunner()
2024-11-26T09:21:40.6073582Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x226
2024-11-26T09:21:40.6074776Z testing.runTests()
2024-11-26T09:21:40.6076264Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2166 +0x8be
2024-11-26T09:21:40.6077435Z testing.(*M).Run()
2024-11-26T09:21:40.6078948Z /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:2034 +0xf17
2024-11-26T09:21:40.6080139Z main.main()
2024-11-26T09:21:40.6080665Z _testmain.go:119 +0x164
2024-11-26T09:21:40.6081155Z ==================
2024-11-26T09:21:40.6081701Z --- FAIL: Test_EstimateGas (4.38s)
2024-11-26T09:21:40.6082541Z testing.go:1399: race detected during execution of test
2024-11-26T09:21:40.6083238Z FAIL
2024-11-26T09:21:40.6083634Z coverage: 75.3% of statements
2024-11-26T09:21:40.6084473Z FAIL github.com/initia-labs/minievm/jsonrpc/backend 62.976s
2024-11-26T09:21:40.6085933Z ok github.com/initia-labs/minievm/jsonrpc/namespaces/eth/filters 3.337s coverage: 8.5% of statements
2024-11-26T09:21:40.6087546Z ok github.com/initia-labs/minievm/jsonrpc/types 1.049s coverage: 48.8% of statements
2024-11-26T09:21:40.6089046Z ok github.com/initia-labs/minievm/x/bank/keeper 5.887s coverage: 59.8% of statements
2024-11-26T09:21:40.6090488Z ok github.com/initia-labs/minievm/x/evm/ante 7.714s coverage: 78.6% of statements
2024-11-26T09:21:53.4064110Z ok github.com/initia-labs/minievm/x/evm/keeper 12.994s coverage: 73.0% of statements
2024-11-26T09:21:53.4065840Z ok github.com/initia-labs/minievm/x/evm/precompiles/cosmos 1.316s coverage: 71.6% of statements
2024-11-26T09:21:53.4067493Z ok github.com/initia-labs/minievm/x/evm/precompiles/erc20_registry 1.295s coverage: 74.6% of statements
2024-11-26T09:21:54.0367981Z ok github.com/initia-labs/minievm/x/evm/state 1.887s coverage: 77.3% of statements
2024-11-26T09:21:54.0369508Z ok github.com/initia-labs/minievm/x/evm/types 1.269s coverage: 1.1% of statements
2024-11-26T09:21:54.0370402Z FAIL
2024-11-26T09:21:54.8105306Z ##[error]Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment