canto-network / canto Goto Github PK
View Code? Open in Web Editor NEWLayer-1 blockchain powered by Free Public Infrastructure
License: GNU Lesser General Public License v3.0
Layer-1 blockchain powered by Free Public Infrastructure
License: GNU Lesser General Public License v3.0
Not exactly sure what app to have on the ledger as there is a Tendermint Ledger App but it apparently doesn't exist and then the Cosmos (ATOM) app which I also tried but doesn't work. I tried Ethereum app thinking it would work given canto uses geth evm but nothing still.
USB Ledger recognized on system:
[21880.630266] usb 1-1: USB disconnect, device number 26
[21880.928240] usb 1-1: new full-speed USB device number 27 using xhci_hcd
[21881.144524] usb 1-1: New USB device found, idVendor=2c97, idProduct=1015, bcdDevice= 2.01
[21881.144528] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21881.144530] usb 1-1: Product: Nano S
[21881.144531] usb 1-1: Manufacturer: Ledger
[21881.144532] usb 1-1: SerialNumber: 0001
[21881.184784] hid-generic 0003:2C97:1015.0022: hiddev97,hidraw4: USB HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-1/input0
[21881.218049] hid-generic 0003:2C97:1015.0023: hiddev98,hidraw5: USB HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-1/input1
Trying to add keys with --ledger
flag and error:
% cantod keys add myLedger --ledger
Error: --ledger flag passed: Ledger device is currently not supported
I built cantod
with go
using the following tags: go build -tags "netgo,ledger,cleveldb"
on Arch Linux.
Starting a node with cantod start --trace
results in it crashing and reporting an invalid key in the genesis.json file for key/value: "merge_fork_block": "0"
Canto v8.1.1
curl http://127.0.0.1:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_gasPrice","params":[],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"method handler crashed"}}
{"level":"error","module":"server","module":"geth","time":"2024-08-15T18:06:07Z","message":"RPC method eth_gasPrice crashed: bloom bytes too big 256 270\ngoroutine 1314190 [running]:\ngithub.com
/ethereum/go-ethereum/rpc.(*callback).call.func1()\n\tgithub.com/ethereum/[email protected]/rpc/service.go:200 +0x85\npanic({0x4c698c0?, 0xc00f415d50?})\n\truntime/panic.go:770 +0x132\ngithub
.com/ethereum/go-ethereum/core/types.(*Bloom).SetBytes(0x18?, {0xc00c17c7e0?, 0x73a6259d9398?, 0x2b9ef00?})\n\tgithub.com/ethereum/[email protected]/core/types/bloom9.go:55 +0xda\ngithub.com/
ethereum/go-ethereum/core/types.BytesToBloom(...)\n\tgithub.com/ethereum/[email protected]/core/types/bloom9.go:47\ngithub.com/evmos/ethermint/rpc/backend.(*Backend).BlockBloom(_, _)\n\tgithu
b.com/evmos/[email protected]/rpc/backend/blocks.go:369 +0x24e\ngithub.com/evmos/ethermint/rpc/backend.(*Backend).HeaderByNumber(0xc0013fb908, 0xffffffffffffffff)\n\tgithub.com/evmos/ethermint@v
0.22.0/rpc/backend/blocks.go:315 +0x89\ngithub.com/evmos/ethermint/rpc/backend.(*Backend).CurrentHeader(...)\n\tgithub.com/evmos/[email protected]/rpc/backend/chain_info.go:110\ngithub.com/evmos
/ethermint/rpc/backend.(*Backend).GasPrice(0xc0013fb908)\n\tgithub.com/evmos/[email protected]/rpc/backend/call_tx.go:404 +0x2e\ngithub.com/evmos/ethermint/rpc/namespaces/ethereum/eth.(*PublicAP
I).GasPrice(0xc001bfcae0)\n\tgithub.com/evmos/[email protected]/rpc/namespaces/ethereum/eth/api.go:339 +0x4d\nreflect.Value.call({0xc001498a00?, 0xc0014183c8?, 0x30?}, {0x5426f3b, 0x4}, {0xc0196
b7c20, 0x1, 0xc0196b7c20?})\n\treflect/value.go:596 +0xca6\nreflect.Value.Call({0xc001498a00?, 0xc0014183c8?, 0x1bf8ace?}, {0xc0196b7c20?, 0x1cad7dc?, 0xc00ebc9e00?})\n\treflect/value.go:380 +0x
b9\ngithub.com/ethereum/go-ethereum/rpc.(*callback).call(0xc000dbe900, {0x5fcddb0, 0xc00fc82af0}, {0xc016b81310, 0xc}, {0x0, 0x0, 0x1c5e88f?})\n\tgithub.com/ethereum/[email protected]/rpc/ser
vice.go:206 +0x36d\ngithub.com/ethereum/go-ethereum/rpc.(*handler).runMethod(0x0?, {0x5fcddb0?, 0xc00fc82af0?}, 0xc00bff5b20, 0x0?, {0x0?, 0xc017dcdf80?, 0x10?})\n\tgithub.com/ethereum/go-ethere
[email protected]/rpc/handler.go:389 +0x3c\ngithub.com/ethereum/go-ethereum/rpc.(*handler).handleCall(0xc00ee2fcb0, 0xc0196b7b60, 0xc00bff5b20)\n\tgithub.com/ethereum/[email protected]/rpc/handler.
go:337 +0x22f\ngithub.com/ethereum/go-ethereum/rpc.(*handler).handleCallMsg(0xc00ee2fcb0, 0xc0196b7b60, 0xc00bff5b20)\n\tgithub.com/ethereum/[email protected]/rpc/handler.go:298 +0xbd\ngithub
.com/ethereum/go-ethereum/rpc.(*handler).handleMsg.func1(0xc0196b7b60)\n\tgithub.com/ethereum/[email protected]/rpc/handler.go:139 +0x2f\ngithub.com/ethereum/go-ethereum/rpc.(*handler).startC
allProc.func1()\n\tgithub.com/ethereum/[email protected]/rpc/handler.go:226 +0xbe\ncreated by github.com/ethereum/go-ethereum/rpc.(*handler).startCallProc in goroutine 1093583\n\tgithub.com/e
thereum/[email protected]/rpc/handler.go:222 +0x79\n"}
Docs say to build from checkout genesis
but it doesn't work, results in error:
go: downloading github.com/tklauser/numcpus v0.2.3
app/app.go:95:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/ante/ante.go:8:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
client/docs/statik/init.go:6:8: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
types/utils.go:6:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:96:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
x/erc20/keeper/evm.go:7:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:97:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
cmd/config/config.go:6:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:99:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:100:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:101:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
x/erc20/types/interfaces.go:13:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/ante/handler_options.go:15:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:103:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:104:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:105:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
cmd/cantod/root.go:20:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
cmd/cantod/root.go:21:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
crypto/keyring/options.go:6:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
testutil/network/util.go:31:2: github.com/Canto-Network/[email protected]: reading github.com/Canto-Network/ethermint-v2/go.mod at revision v0.2.0: git ls-remote -q origin in /home/cryptdon/go/pkg/mod/cache/vcs/aaddcbd58979f5a4b6307010a382d9e153c999df17ff33be0c66d151a95bc4b1: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
When running the validator transaction, I first get an error that says that my account (canto16...) does not exist. When I run sudo nano <KEY>.info
, I can see that the contents were replaced by what looks to be a JWT. Replacing this with my pubkey info fixes, this issue, but then I keep getting a Error: illegal base64 data at input byte 6 error.
Hi all,
ref this issue: evmos/ethermint#1745
On Canto specifically this issue is significant. The websocket subscriptions are extremely unstable. This is breaking apps.
The latest Evmos client is significantly more stable so the fix may be in the more recent code. I suspect the issue is in Ethermint.
hello
Both cosmos sdk 0.45.x and 0.46.x makes a pruning subcommand available
see
cosmos/cosmos-sdk#12742 for more details
is that ready to be implemented in Canto ?
thanks
Hi,
Canto is currently running on a version of Ethermint where the eth filter system has major flaws. This is causing the subscription modules to crash and stop responding to filter subscriptions and newheads. This is a very well known issue now, and has been patched in Evmos and recently on Cronos: https://github.com/crypto-org-chain/cronos/releases/tag/v1.0.13
The proposed solution by Cronos seems very interesting since it does not require a very large upgrade. It needs a slight bump in the Cosmos SDK version, which also changes some fundamentals quite a bit such as the structure of MsgEthereum. I am doing some Frankenstein level efforts myself to upgrade Canto to get a working node, but there are thousands of dependency issues
Building on Arch Linux in a clean chroot, the following checks fail:
==> Starting check()...
go: downloading github.com/onsi/ginkgo/v2 v2.1.4
go: downloading github.com/onsi/gomega v1.19.0
go: downloading github.com/stretchr/objx v0.4.0
ok github.com/Canto-Network/Canto/v2/app 0.279s
ok github.com/Canto-Network/Canto/v2/app/ante 0.203s
ok github.com/Canto-Network/Canto/v2/app/upgrades/v2 0.077s [no tests to run]
? github.com/Canto-Network/Canto/v2/app/upgrades/v3 [no test files]
? github.com/Canto-Network/Canto/v2/app/upgrades/v4 [no test files]
? github.com/Canto-Network/Canto/v2/app/upgrades/v5 [no test files]
? github.com/Canto-Network/Canto/v2/client/docs/statik [no test files]
ok github.com/Canto-Network/Canto/v2/cmd/cantod 0.173s
? github.com/Canto-Network/Canto/v2/cmd/config [no test files]
? github.com/Canto-Network/Canto/v2/contracts [no test files]
? github.com/Canto-Network/Canto/v2/crypto/keyring [no test files]
ok github.com/Canto-Network/Canto/v2/ibc 0.182s
? github.com/Canto-Network/Canto/v2/ibc/testing [no test files]
? github.com/Canto-Network/Canto/v2/testutil [no test files]
? github.com/Canto-Network/Canto/v2/testutil/network [no test files]
ok github.com/Canto-Network/Canto/v2/types 0.105s
? github.com/Canto-Network/Canto/v2/version [no test files]
? github.com/Canto-Network/Canto/v2/x/csr [no test files]
? github.com/Canto-Network/Canto/v2/x/csr/client/cli [no test files]
ok github.com/Canto-Network/Canto/v2/x/csr/keeper 0.678s
ok github.com/Canto-Network/Canto/v2/x/csr/types 0.174s
ok github.com/Canto-Network/Canto/v2/x/epochs 0.324s
? github.com/Canto-Network/Canto/v2/x/epochs/client/cli [no test files]
--- FAIL: TestKeeperTestSuite (0.08s)
--- FAIL: TestKeeperTestSuite/TestEpochInfo (0.03s)
--- FAIL: TestKeeperTestSuite/TestEpochInfo/Case_set_epoch_info (0.02s)
panic: EVM::DeployTurnstile error deploying Turnstile: EVM::DeployContract error deploying contract: failed to load evm config: failed to obtain coinbase address: failed to retrieve validator from block proposer address : validator does not exist: There was an error deploying a contract from the CSR module: There was an error deploying a contract from the CSR module [recovered]
panic: EVM::DeployTurnstile error deploying Turnstile: EVM::DeployContract error deploying contract: failed to load evm config: failed to obtain coinbase address: failed to retrieve validator from block proposer address : validator does not exist: There was an error deploying a contract from the CSR module: There was an error deploying a contract from the CSR module
goroutine 387 [running]:
testing.tRunner.func1.2({0x55edd4f03ec0, 0xc0010f3c80})
testing/testing.go:1396 +0x24e
testing.tRunner.func1()
testing/testing.go:1399 +0x39f
panic({0x55edd4f03ec0, 0xc0010f3c80})
runtime/panic.go:884 +0x212
github.com/Canto-Network/Canto/v2/x/csr.AppModule.BeginBlock({{{0x0, 0x0}}, {{0x55edd50c18e0, 0xc0010c9810}, {0x55edd50e3f80, 0xc00107bc40}, {{0x55edd50e3f80, 0xc00107bc40}, 0xc000ccfe90, {0x55edd50c18e0, ...}, ...}, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/x/csr/module.go:176 +0x213
github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x55edd50d6a60, 0xc000132000}, {0x55edd50e56e0, 0xc00117f8c0}, {{0xb, 0x0}, {0x55edd42307d9, 0xc}, 0x2, ...}, ...}, ...)
github.com/cosmos/[email protected]/types/module/module.go:491 +0x3bb
github.com/Canto-Network/Canto/v2/app.(*Canto).BeginBlocker(_, {{0x55edd50d6a60, 0xc000132000}, {0x55edd50e56e0, 0xc00117f8c0}, {{0xb, 0x0}, {0x55edd42307d9, 0xc}, 0x2, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/app/app.go:832 +0x85
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0x0, 0x0, 0x0}, {{0xb, 0x0}, {0x55edd42307d9, 0xc}, 0x2, {0x1f905d11, ...}, ...}, ...})
github.com/cosmos/[email protected]/baseapp/abci.go:177 +0x97b
github.com/Canto-Network/Canto/v2/x/epochs/keeper_test.(*KeeperTestSuite).CommitAfter(0xc0000df340, 0xc000132000?)
github.com/Canto-Network/Canto/v2/x/epochs/keeper/keeper_test.go:111 +0x1f8
github.com/Canto-Network/Canto/v2/x/epochs/keeper_test.(*KeeperTestSuite).Commit(...)
github.com/Canto-Network/Canto/v2/x/epochs/keeper/keeper_test.go:103
github.com/Canto-Network/Canto/v2/x/epochs/keeper_test.(*KeeperTestSuite).TestEpochInfo.func2()
github.com/Canto-Network/Canto/v2/x/epochs/keeper/grpc_query_test.go:101 +0x3f8
github.com/Canto-Network/Canto/v2/x/epochs/keeper_test.(*KeeperTestSuite).TestEpochInfo.func3()
github.com/Canto-Network/Canto/v2/x/epochs/keeper/grpc_query_test.go:120 +0x12f
github.com/stretchr/testify/suite.(*Suite).Run.func1(0x0?)
github.com/stretchr/[email protected]/suite/suite.go:91 +0x36
testing.tRunner(0xc0010d1ba0, 0xc000d2e120)
testing/testing.go:1446 +0x10b
created by testing.(*T).Run
testing/testing.go:1493 +0x35f
FAIL github.com/Canto-Network/Canto/v2/x/epochs/keeper 0.219s
ok github.com/Canto-Network/Canto/v2/x/epochs/types 0.118s
ok github.com/Canto-Network/Canto/v2/x/erc20 0.164s
? github.com/Canto-Network/Canto/v2/x/erc20/client [no test files]
? github.com/Canto-Network/Canto/v2/x/erc20/client/cli [no test files]
? github.com/Canto-Network/Canto/v2/x/erc20/client/rest [no test files]
ok github.com/Canto-Network/Canto/v2/x/erc20/keeper 5.095s
ok github.com/Canto-Network/Canto/v2/x/erc20/migrations/v2 0.178s
ok github.com/Canto-Network/Canto/v2/x/erc20/types 0.102s
? github.com/Canto-Network/Canto/v2/x/fees [no test files]
? github.com/Canto-Network/Canto/v2/x/fees/client/cli [no test files]
Running Suite: Keeper Suite - /build/canto/src/canto/x/fees/keeper
==================================================================
Random Seed: 1674667676
Will run 23 of 23 specs
------------------------------
โข! [PANICKED] [0.018 seconds]
Fee distribution: [BeforeAll]
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:60
with fees param disabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:84
should not allow new contract registrations
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:105
Test Panicked
In [BeforeAll] at: testing/testing.go:871
<nil>
Full Stack Trace
testing.(*common).FailNow(0xc00120f860)
testing/testing.go:871 +0x4c
github.com/stretchr/testify/require.NotEmpty({0x55f7bf9a1568, 0xc00120f860}, {0x55f7bf6f6b00, 0x0}, {0x0, 0x0, 0x0})
github.com/stretchr/[email protected]/require/require.go:1352 +0xb4
github.com/stretchr/testify/require.(*Assertions).NotEmpty(0xc0014ba2b0, {0x55f7bf6f6b00, 0x0}, {0x0, 0x0, 0x0})
github.com/stretchr/[email protected]/require/require_forward.go:1061 +0x87
github.com/Canto-Network/Canto/v2/x/fees/keeper_test.deployContract(0xc000686ff0, {0x55f7beb934f3, 0x7c})
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:808 +0x519
github.com/Canto-Network/Canto/v2/x/fees/keeper_test.glob..func1.1()
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:80 +0x8c7
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param disabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:84
[It] should not distribute tx fees for previously registered contracts
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:126
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:126
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param disabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:84
[It] should not allow fee information updates for previously registered contracts
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:136
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:136
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param disabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:84
[It] should not allow cancellations of previously registered contracts
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:152
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:152
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering a contract for receiving tx fees
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:171
with an empty withdrawal address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:172
[It] should be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:181
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:181
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering a contract for receiving tx fees
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:171
with an empty withdrawal address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:172
[It] should result in sending the tx fees to the deployer address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:191
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:191
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering a contract for receiving tx fees
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:171
with a withdrawal address equal to the deployer address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:204
[It] should be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:205
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:205
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering a contract for receiving tx fees
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:171
with a withdrawal address different than deployer
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:219
[It] should be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:230
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:230
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering a contract for receiving tx fees
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:171
with a withdrawal address different than deployer
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:219
[It] should send the fees to the withdraw address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:240
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:240
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Interacting with a registered fee contract
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:254
with a 50/50 validators-developers fee split
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:264
[It] should transfer legacy tx fees to validators and contract developer evenly
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:271
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:271
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Interacting with a registered fee contract
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:254
with a 50/50 validators-developers fee split
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:264
[It] should transfer dynamic tx fees to validators and contract developer evenly
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:288
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:288
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Interacting with a registered fee contract
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:254
with a 100/0 validators-developers fee split
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:311
[It] should transfer all tx fees to validators
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:318
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:318
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Interacting with a registered fee contract
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:254
with a 0/100 validators-developers fee split
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:341
[It] should transfer all tx fees to developers
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:348
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:348
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Updating registered fee information
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:372
with a withdraw address that is different from the deployer address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:373
[It] should update fee information successfully
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:391
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:391
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Updating registered fee information
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:372
with a withdraw address that is different from the deployer address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:373
[It] should send tx fees to the new withdraw address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:413
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:413
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Updating registered fee information
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:372
with a withdraw address equal to the deployer's address
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:428
[It] should not update fee information
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:444
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:444
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Updating registered fee information
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:372
for a contract that was not registered
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:464
[It] should fail
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:465
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:465
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Canceling a fee registration
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:488
when the registered fee info exists
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:489
[It] should be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:505
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:505
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Canceling a fee registration
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:488
when the registered fee info exists
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:489
[It] should no longer distribute fees to the contract deployer
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:519
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:519
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Canceling a fee registration
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:488
when the fee info does not exist
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:531
[It] should not be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:532
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:532
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering contracts created by a factory contract with CREATE opcode
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:549
with one factory
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:550
[It] should be possible
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:560
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:560
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering contracts created by a factory contract with CREATE opcode
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:549
with one factory
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:550
[It] should transfer legacy tx fees evenly to validator and deployer
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:578
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:578
------------------------------
S [SKIPPED] [0.000 seconds]
Fee distribution:
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:42
with fees param enabled
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:164
Registering contracts created by a factory contract with CREATE opcode
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:549
with one factory
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:550
[It] should transfer dynamic tx fees evenly to validator and deployer
github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:591
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/fees/keeper/integration_test.go:591
------------------------------
Ran 1 of 23 Specs in 0.020 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 22 Skipped
--- FAIL: TestKeeperTestSuite (0.75s)
integration_test.go:808:
Error Trace: /build/canto/src/canto/x/fees/keeper/integration_test.go:808
/build/canto/src/canto/x/fees/keeper/integration_test.go:80
/build/canto/src/canto/x/fees/keeper/suite.go:596
/build/canto/src/canto/x/fees/keeper/asm_amd64.s:1594
Error: Should NOT be empty, but was <nil>
Test: TestKeeperTestSuite
FAIL
FAIL github.com/Canto-Network/Canto/v2/x/fees/keeper 0.923s
ok github.com/Canto-Network/Canto/v2/x/fees/types 0.099s
ok github.com/Canto-Network/Canto/v2/x/govshuttle 0.202s
? github.com/Canto-Network/Canto/v2/x/govshuttle/client [no test files]
? github.com/Canto-Network/Canto/v2/x/govshuttle/client/cli [no test files]
ok github.com/Canto-Network/Canto/v2/x/govshuttle/keeper 0.121s
? github.com/Canto-Network/Canto/v2/x/govshuttle/simulation [no test files]
ok github.com/Canto-Network/Canto/v2/x/govshuttle/types 0.096s
? github.com/Canto-Network/Canto/v2/x/inflation [no test files]
? github.com/Canto-Network/Canto/v2/x/inflation/client/cli [no test files]
--- FAIL: TestKeeperTestSuite (0.03s)
--- FAIL: TestKeeperTestSuite/TestEpochMintProvision (0.02s)
--- FAIL: TestKeeperTestSuite/TestEpochMintProvision/Case_set_epochMintProvision (0.01s)
panic: EVM::DeployTurnstile error deploying Turnstile: EVM::DeployContract error deploying contract: failed to load evm config: failed to obtain coinbase address: failed to retrieve validator from block proposer address : validator does not exist: There was an error deploying a contract from the CSR module: There was an error deploying a contract from the CSR module [recovered]
panic: EVM::DeployTurnstile error deploying Turnstile: EVM::DeployContract error deploying contract: failed to load evm config: failed to obtain coinbase address: failed to retrieve validator from block proposer address : validator does not exist: There was an error deploying a contract from the CSR module: There was an error deploying a contract from the CSR module
goroutine 336 [running]:
testing.tRunner.func1.2({0x55bd723b40c0, 0xc00174c1a0})
testing/testing.go:1396 +0x24e
testing.tRunner.func1()
testing/testing.go:1399 +0x39f
panic({0x55bd723b40c0, 0xc00174c1a0})
runtime/panic.go:884 +0x212
github.com/Canto-Network/Canto/v2/x/csr.AppModule.BeginBlock({{{0x0, 0x0}}, {{0x55bd72573060, 0xc0015e4050}, {0x55bd72595620, 0xc0015ac5c0}, {{0x55bd72595620, 0xc0015ac5c0}, 0xc000fc99a0, {0x55bd72573060, ...}, ...}, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/x/csr/module.go:176 +0x213
github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x55bd72588280, 0xc0001b2000}, {0x55bd72596d80, 0xc001715900}, {{0xb, 0x0}, {0x55bd716da87c, 0xc}, 0x2, ...}, ...}, ...)
github.com/cosmos/[email protected]/types/module/module.go:491 +0x3bb
github.com/Canto-Network/Canto/v2/app.(*Canto).BeginBlocker(_, {{0x55bd72588280, 0xc0001b2000}, {0x55bd72596d80, 0xc001715900}, {{0xb, 0x0}, {0x55bd716da87c, 0xc}, 0x2, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/app/app.go:832 +0x85
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0x0, 0x0, 0x0}, {{0xb, 0x0}, {0x55bd716da87c, 0xc}, 0x2, {0x3b30c8e1, ...}, ...}, ...})
github.com/cosmos/[email protected]/baseapp/abci.go:177 +0x97b
github.com/Canto-Network/Canto/v2/x/inflation/keeper_test.(*KeeperTestSuite).CommitAfter(0xc0000ea580, 0xc0015e4150?)
github.com/Canto-Network/Canto/v2/x/inflation/keeper/keeper_test.go:112 +0x1f8
github.com/Canto-Network/Canto/v2/x/inflation/keeper_test.(*KeeperTestSuite).Commit(...)
github.com/Canto-Network/Canto/v2/x/inflation/keeper/keeper_test.go:104
github.com/Canto-Network/Canto/v2/x/inflation/keeper_test.(*KeeperTestSuite).TestEpochMintProvision.func2()
github.com/Canto-Network/Canto/v2/x/inflation/keeper/grpc_query_test.go:95 +0x16b
github.com/Canto-Network/Canto/v2/x/inflation/keeper_test.(*KeeperTestSuite).TestEpochMintProvision.func3()
github.com/Canto-Network/Canto/v2/x/inflation/keeper/grpc_query_test.go:108 +0x12f
github.com/stretchr/testify/suite.(*Suite).Run.func1(0xc9?)
github.com/stretchr/[email protected]/suite/suite.go:91 +0x36
testing.tRunner(0xc00158c1a0, 0xc001584ea0)
testing/testing.go:1446 +0x10b
created by testing.(*T).Run
testing/testing.go:1493 +0x35f
FAIL github.com/Canto-Network/Canto/v2/x/inflation/keeper 0.129s
? github.com/Canto-Network/Canto/v2/x/inflation/migrations/v2 [no test files]
ok github.com/Canto-Network/Canto/v2/x/inflation/types 0.116s
ok github.com/Canto-Network/Canto/v2/x/recovery 0.113s
? github.com/Canto-Network/Canto/v2/x/recovery/client/cli [no test files]
Running Suite: Keeper Suite - /build/canto/src/canto/x/recovery/keeper
======================================================================
Random Seed: 1674667680
Will run 6 of 6 specs
------------------------------
โข! [PANICKED] [0.010 seconds]
Recovery: Performing an IBC Transfer [BeforeEach]
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:27
from a non-authorized chain
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:31
should transfer and not recover tokens
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:41
Test Panicked
In [BeforeEach] at: github.com/Canto-Network/Canto/v2/x/csr/module.go:176
EVM::DeployTurnstile error deploying Turnstile: EVM::DeployContract error deploying contract: failed to load evm config: failed to obtain coinbase address: failed to retrieve validator from block proposer address : validator does not exist: There was an error deploying a contract from the CSR module: There was an error deploying a contract from the CSR module [Canto-Network/Canto/v2/x/csr/keeper/evm.go:27]
Full Stack Trace
github.com/Canto-Network/Canto/v2/x/csr.AppModule.BeginBlock({{{0x0, 0x0}}, {{0x55a4de9edd50, 0xc000210c20}, {0x55a4dea109a0, 0xc000e4e180}, {{0x55a4dea109a0, 0xc000e4e180}, 0xc000014088, {0x55a4de9edd50, ...}, ...}, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/x/csr/module.go:176 +0x213
github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x55a4dea030e0, 0xc0000560c8}, {0x55a4dea12420, 0xc00128c040}, {{0x0, 0x0}, {0xc000e863e0, 0xc}, 0x2, ...}, ...}, ...)
github.com/cosmos/[email protected]/types/module/module.go:491 +0x3bb
github.com/Canto-Network/Canto/v2/app.(*Canto).BeginBlocker(_, {{0x55a4dea030e0, 0xc0000560c8}, {0x55a4dea12420, 0xc00128c040}, {{0x0, 0x0}, {0xc000e863e0, 0xc}, 0x2, ...}, ...}, ...)
github.com/Canto-Network/Canto/v2/app/app.go:832 +0x85
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0x0, 0x0, 0x0}, {{0x0, 0x0}, {0xc000e863e0, 0xc}, 0x2, {0x0, ...}, ...}, ...})
github.com/cosmos/[email protected]/baseapp/abci.go:177 +0x97b
github.com/Canto-Network/Canto/v2/ibc/testing.SetupWithGenesisValSet(0x55a4dea0d7a8?, 0xc000e98510, {0xc0013e14d0?, 0x1, 0x1}, {0xc000e863e0, 0xc}, {0xc000e98cf0, 0x1, 0x1})
github.com/Canto-Network/Canto/v2/ibc/testing/app.go:100 +0x19be
github.com/Canto-Network/Canto/v2/ibc/testing.NewTestChain(0xc00016da00, 0xc000e98390, {0xc000e863e0, 0xc})
github.com/Canto-Network/Canto/v2/ibc/testing/chain.go:72 +0x65a
github.com/Canto-Network/Canto/v2/ibc/testing.NewCoordinator(0xc00016da00, 0x1, 0x2)
github.com/Canto-Network/Canto/v2/ibc/testing/coordinator.go:25 +0x152
github.com/Canto-Network/Canto/v2/x/recovery/keeper_test.(*IBCTestingSuite).SetupTest(0xc0003d9c70)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_suite_test.go:53 +0x47
github.com/Canto-Network/Canto/v2/x/recovery/keeper_test.glob..func1.1()
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:28 +0x25
------------------------------
S [SKIPPED] [0.000 seconds]
Recovery: Performing an IBC Transfer
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:15
from an authorized, non-EVM chain (e.g. Osmosis)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:51
to a different account on canto (sender != recipient)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:52
[It] should transfer and not recover tokens
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:60
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:60
------------------------------
S [SKIPPED] [0.000 seconds]
Recovery: Performing an IBC Transfer
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:15
from an authorized, non-EVM chain (e.g. Osmosis)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:51
to the sender's own eth_secp256k1 account on canto (sender == recipient)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:70
with disabled recovery parameter
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:78
[It] should not transfer or recover tokens
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:85
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:85
------------------------------
S [SKIPPED] [0.000 seconds]
Recovery: Performing an IBC Transfer
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:15
from an authorized, non-EVM chain (e.g. Osmosis)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:51
to the sender's own eth_secp256k1 account on canto (sender == recipient)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:70
without a sender's claims record
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:95
when recipient has no ibc vouchers that originated from other chains
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:96
[It] should transfer and recover tokens
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:97
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:97
------------------------------
S [SKIPPED] [0.000 seconds]
Recovery: Performing an IBC Transfer
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:15
from an authorized, non-EVM chain (e.g. Osmosis)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:51
to the sender's own eth_secp256k1 account on canto (sender == recipient)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:70
without a sender's claims record
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:95
when recipient has additional ibc vouchers that originated from other chains
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:132
[It] should not recover tokens that originated from other chains
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:144
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:144
------------------------------
S [SKIPPED] [0.000 seconds]
Recovery: Performing an IBC Transfer
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:15
from an authorized, non-EVM chain (e.g. Osmosis)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:51
to the sender's own eth_secp256k1 account on canto (sender == recipient)
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:70
without a sender's claims record
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:95
when recipient has additional non-native ibc vouchers that originated from senders chains
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:195
[It] should not recover tokens that originated from other chains
github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:220
Spec skipped because an earlier spec in an ordered container failed
In [It] at: github.com/Canto-Network/Canto/v2/x/recovery/keeper/ibc_callbacks_integration_test.go:220
------------------------------
Ran 1 of 6 Specs in 0.010 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 5 Skipped
--- FAIL: TestIBCTestingSuite (0.01s)
suite.go:207: warning: no tests to run
FAIL
FAIL github.com/Canto-Network/Canto/v2/x/recovery/keeper 0.258s
ok github.com/Canto-Network/Canto/v2/x/recovery/types 0.097s
? github.com/Canto-Network/Canto/v2/x/vesting [no test files]
? github.com/Canto-Network/Canto/v2/x/vesting/client/cli [no test files]
ok github.com/Canto-Network/Canto/v2/x/vesting/keeper 1.027s
ok github.com/Canto-Network/Canto/v2/x/vesting/types 0.071s
FAIL
OS: Linux cryptsus 6.1.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 18 Jan 2023 19:54:38 +0000 x86_64 GNU/Linux
go (version): 1.19.5
Background:
MsgCreateVestingAccount
is currently blocked via DisabledAuthzMsgs
and antehandler
.MsgCreatePermanentLockedAccount
and MsgCreatePeriodicVestingAccount
Suggestions:
MsgCreateVestingAccount
blockage is due to technical risks, propose adding new messages to DisabledAuthzMsgs
.Action Items:
I've followed the instructions on how to become a validator:
https://docs.canto.io/technical-reference/validators/becoming-a-validator
But upon starting the cantod service I get the following error message:
11:44PM ERR failed init node error="error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain"
Any idea what I'm missing?
Context:
Suggestions:
Action Items:
Create a Contributing.MD
document for developers to use as a guide for contributing to the project.
Basic Guidelines
Basic Dev Env setup
...
Pull Request Template
block number: 804212
block height not change, how can i fix this problem? THX
ERR Stopping peer for error err="blockchainReactor validation error: wrong Block.Header.AppHash. Expected AE0346892A400D6EB0B956FC5B5806FCCEE5A5679102E6DFD8BEE92BE40DDD76, got 374EC05458F04346A1F0F97EFB0DDF9133F510EF28F453849955FC0C23539815" module=p2p peer={"Data":{},"Logger":{}} server=node
Context:
BlockedAddrs
between v0.50 simapp and Canto's implementation during upgrade.Differences and Suggestions:
BlockedAddrs
, unlike Canto.BlockedAddrs
might minimize potential risks.BlockedAddrs
to minimize risks unless there's an unidentified reason to allow it.cantod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Okt 05 13:46:27 Ubuntu20-64Bit systemd[1]: cantod.service: Failed with result 'exit-code'.
Pls Upgrade to 2.0 hm
INF Error reconnecting to peer. Trying again addr={"id":"ec770ae4fd0fb4871b9a7c09f61764a0b010b293","ip":"164.90.134.106","port":26656} err="dial tcp 164.90.134.106:26656: i/o timeout" module=p2p server=node tries=7
why hm
Hello,
I am exploring the possibility of integrating Ethermint with the Cosmos SDK for a project I am working on. While researching, I came across your project, which seems to have successfully implemented this integration. Given the complexity and the lack of maintained documentation on Ethermint, I am reaching out to seek your assistance.
Would it be possible for you to share any documentation, guidelines, or even the specific pull requests (PRs) or commits that detail how you integrated Ethermint with the Cosmos SDK? Insights into the challenges faced and solutions implemented during your integration process would be incredibly valuable.
Understanding your approach and learning from your experience would be immensely helpful for my project, especially to ensure seamless Ethereum compatibility within a Cosmos SDK-based blockchain.
Thank you for considering my request. I look forward to any information you can provide.
Best regards,
Cantod version: v5.0.0
ToAddress
function returns list of address.
I think ToAddresses
or ToAddressList` will be more readable.
Canto/x/govshuttle/keeper/proposals.go
Lines 83 to 95 in 4ffeda9
If you guys ok for this, I'll create PR for it.
Hello, trying any query on https://tuber.build/graphiql returns the error:
"message": "Params 'module' and 'action' are required parameters",
query tried:
{
transaction(
hash: "0x082762f95047d39d612daafec832f88163f3815fde4ddd8944f2a5198a396e0f"
) {
hash
blockNumber
value
gasUsed
}
}
Any idea?
Unsure where to post this question so apologies if this is the wrong place to do so.
Earlier I bridged ATOM from Canto.io like I usually do to my cosmos address. Surprisingly, the tx failed and I can't find a way to access the ATOM let alone retry the transaction:
https://www.mintscan.io/cosmos/txs/4DC40B6D79099AFDAC5B374F681696B7DC2436724666D82A6A6D8320227BAC61
^Error message: failed to execute message; message index: 1: receive packet verification failed: block timestamp >= packet timeout timestamp (2023-04-02 21:40:53.546084117 +0000 UTC >= 2023-04-02 21:40:50 +0000 UTC): packet timeout
Back on the canto.io bridge page I now have no ATOM to retry bridging (that I can see). Where do failed tx funds go? How does one access their funds of the Canto Bridge address?
Thanks in advance for any insight. And sorry again if this is the wrong place to ask this. Just want to make sure others don't potentially lose money when bridging ATOM out of Canto.io
Would be great to have support for hosted assets here.
When I request the latest block over RPC, it has all the correct fields as below:
{
baseFeePerGas: 1000000000000,
difficulty: '0',
extraData: '0x',
gasLimit: 30000000,
gasUsed: 750000,
hash: '0xda8268a9869632e722abb26216bfdcc9b8062cb3448ba79e2fd48e83793cd7e7',
logsBloom: '0x4020000001000000000001000000082002000000001040000000000c0000010000000000000080000000000000000000000400000000008002500000000000800080000000100000000000080000002000000000000004000020000004000000000080000204014000000000000008000000820000080010000000100000000040000100000000000000000000000000000010002010002000000040040000c0000008200000010000000000000008000040040000000001008000000080080000000002000000000000080400020000001400000000000000288020000020000000000002000000000000000000004000200002000000000000000000000042',
miner: '0x0C047b0f49264c27cd14CD786dcFF2b9300BCE88',
mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
nonce: '0x0000000000000000',
number: 3585853,
parentHash: '0xd7ce2353e97bd6444c030369999273e1790e0a90902a187d6392b9f082744223',
receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
size: 11462,
stateRoot: '0xc2b76515117f4a1fb7f36314aef3eefe98a9b5732b7dc327be3c19439d5d7e0b',
timestamp: 1680230823,
totalDifficulty: '0',
transactions: [
'0x706331a1f7657b2816ad6d9f756b6e50a0e31df037eb6b165cce7bafc23fc3ab'
],
transactionsRoot: '0x820b437eff7ac6aab60cc981faddb51b9a4be3803a7764c27dcde2897e54448b',
uncles: []
}
But when I receive the same block via newBlockHeader subscription (over ws), I receive the following, which is missing some fields:
{
parentHash: '0xd7ce2353e97bd6444c030369999273e1790e0a90902a187d6392b9f082744223',
sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
miner: '0x782d7Ec4dE015B2aA4b559CA57bF0B8a12a7FBD5',
stateRoot: '0xc2b76515117f4a1fb7f36314aef3eefe98a9b5732b7dc327be3c19439d5d7e0b',
transactionsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
difficulty: '0',
number: 3585853,
gasLimit: 0,
gasUsed: 0,
timestamp: 1680230823,
extraData: '0x',
mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
nonce: '0x0000000000000000',
baseFeePerGas: 1000000000,
hash: '0xd0bea4f6055eb18d118a7acb4edc6d6cbee3574ffe8ceb1058a6155c504442a9',
size: undefined
}
Is there a setting I need to change or this is a bug?
Currently using v5.0.0, running full node.
Aug 14 01:23:20 172-20-192-100 sh[3746087]: failed to load latest version: version of store consensus mismatch root store's version; expected 10847520 got 0; new stores should be added using StoreUpgrades
Background:
min_commission_rate
.ValidatorCommissionDecorator
of antehandler logic and the newly introduced min_commission_rate
in the SDK staking module params perform the same function: they validate the minimum commission rate during the Create and Edit validator processes. Ref1, Ref2.Suggestions:
antehandler
adds complexity due to nested msg processing like authz
, performing unnecessary validations on all transactions. Simplifying this process is recommended.min_commission_rate
is advised for its simplicity and manageability. Moreover, as this parameter is governed not hardcoded, it can be easily modified through governance proposals in the future.Action Items:
If the decision is made to use min_commission_rate
instead of antehandler
:
ValidatorCommissionDecorator
from the antehandler
.min_commission_rate
in the upgrade handler.This will be incorporated in the ongoing SDK v50 bump PR b-harvest#53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.