Comments (18)
Tx has a nonce of 23. Did your chain accepted other 22 txs from this sender? What is your chain config? Could you send startup logs?
from subnet-evm.
Yeah, the nonce isn't it. I tried with several different mechanisms and several different accounts, including the faucet, ferdy flip dapp, and finally cast directly.
Startup logs for validator: https://gist.github.com/tactical-retreat/5692eca862f7156602d77e3b2135aa98
from subnet-evm.
I have no chain config for this subnet, just an upgrade file (to enable the warp precompile and to force set the teleporter code at the right location).
Genesis file is here: https://github.com/DeepWaterStudios/ff-subnet-public/blob/main/subnet-configuration/genesis-files/ferdy_testnet.json
from subnet-evm.
Could you run this and see what's reported there (assuming localhost;9650)?
curl --location 'http://localhost:9650/ext/bc/e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE/rpc' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_baseFee",
"params": [],
"id": 1
}'
from subnet-evm.
$ curl --location 'http://localhost:9650/ext/bc/e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE/rpc' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_baseFee",
"params": [],
"id": 1
}'
{"jsonrpc":"2.0","id":1,"result":"0x37e11d600"}
FYI the RPC endpoint is https://testnet-rpc.ferdyflip.xyz/rpc if you want to test anything yourself.
There's no explorer yet but I've been using https://devnet.routescan.io/ with that endpoint.
from subnet-evm.
Do you see anything in validator logs? Could you send a validator's log file (if they're all showing the same thing)?
from subnet-evm.
Validator startup logs were posted above, nothing exciting in them. Logs are very boring after that.
If I send a tx:
cast send --rpc-url=http://localhost:9650/ext/bc/e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE/rpc --private-key=$KEY 0xc83F0Ddc642F3663190dfA40Ae95743CB831Fd97 --value="1 ether" --gas-price="50 gwei
I see:
Mar 05 16:04:57 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[50880]: INFO [03-05|16:04:57.383] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/internal/ethapi/api.go:1899: Submitted transaction hash=0x5330b05ca7373641985e23d9a4f917bd7383f164ef9f6e5c3ebe53261ee2725b from=0xc83F0Ddc642F3663190dfA40Ae95743CB831Fd97 nonce=23 recipient=0xc83F0Ddc642F3663190dfA40Ae95743CB831Fd97 value=1,000,000,000,000,000,000 type=2 gasFeeCap=50,000,000,000 gasTipCap=50,000,000,000 gasPrice=50,000,000,000
Nothing after that. If I resend I get:
Mar 05 16:06:05 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[50880]: INFO [03-05|16:06:05.788] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/rpc/handler.go:526: Served eth_sendRawTransaction reqid=5 execTime="66.13µs" procTime="67.7µs" totalTime="67.85µs" err="already known"
from subnet-evm.
And to clarify what I mean by boring, just some C Chain output, mostly warp messages:
0000000000000000000000e35cce502b4bf974d517636bd66e7b2472d63ec9000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000 warpMessageID=2361VPcTjTCTy1GtFQc8YsHi9jaD2QSt3KDW6bteEkzAcTGDo4
Mar 05 15:28:45 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[50880]: INFO [03-05|15:28:45.877] <C Chain> github.com/ava-labs/coreth/core/blockchain.go:1497: Resetting chain preference number=30,574,861 hash=cdc710..d1516a drop=1 dropfrom=5f7dd9..fc9eea add=1 addfrom=c3feca..2f298b
Mar 05 15:53:47 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[50880]: INFO [03-05|15:53:47.355] <C Chain> github.com/ava-labs/coreth/precompile/contracts/warp/config.go:119: Accepted warp unsigned message
from subnet-evm.
I added a chain config with logging set to debug and I now see these entries, which again confirm that it knows about pending tx. But nothing that indicates why there are no new blocks.
Mar 06 18:08:51 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[54310]: DEBUG[03-06|18:08:51.111] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/peer/network.go:459: processing AppGossip from node nodeID=NodeID-KyP1LyscPyThYCEbN1KXekaeNgCtUgFhq msg="EthTxsGossip(Len=253)"
Mar 06 18:09:26 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[54310]: DEBUG[03-06|18:09:26.790] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/peer/network.go:459: processing AppGossip from node nodeID=NodeID-ACQt5KkctKfdLSNB6bfu7dVzmsyqpm3z2 msg="EthTxsGossip(Len=253)"
Mar 06 18:09:30 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[54310]: DEBUG[03-06|18:09:30.558] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/peer/network.go:459: processing AppGossip from node nodeID=NodeID-Lzo8r6TFVKqcmL5QxboPG4kuNZ5ECJooS msg="EthTxsGossip(Len=129)"
from subnet-evm.
Actually, I see that my repo (https://github.com/tactical-retreat/ferdynet-subnet-evm) is one commit behind head, and the head commit has a lot of stuff related to gossip. I'll look into redeploying a new VM.
from subnet-evm.
OK I sync'd redeployed, and had the faucet send some tokens. On the RPC node I see:
Mar 07 00:39:02 rpc-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[1091]: INFO [03-07|00:39:02.612] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/core/txpool/legacypool/legacypool.go:894: Setting new local account address=0x2352D20fC81225c8ECD8f6FaA1B37F24FEd450c9
Mar 07 00:39:02 rpc-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[1091]: INFO [03-07|00:39:02.613] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/internal/ethapi/api.go:1953: Submitted transaction hash=0xbe248f7c522fee7aa1246353997edd1e74bbf873002bd4a0e6560dd376596a7f from=0x2352D20fC81225c8ECD8f6FaA1B37F24FEd450c9 nonce=1364 recipient=0xB5d6CdEc20963882A0d3DEF5a60AfD3223eC48c4 value=20,000,000,000,000,000,000 type=2 gasFeeCap=100,000,000,000 gasTipCap=10,000,000,000 gasPrice=100,000,000,000
On the validator I see:
Mar 07 00:39:02 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[1081]: DEBUG[03-07|00:39:02.619] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/peer/network.go:443: forwarding AppGossip to SDK network nodeID=NodeID-Lzo8r6TFVKqcmL5QxboPG4kuNZ5ECJooS gossipLen=128 err="unknown codec version"
Mar 07 00:39:06 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[1081]: DEBUG[03-07|00:39:06.202] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/core/txpool/legacypool/legacypool.go:389: Transaction pool status report executable=1 queued=0 stales=0
Mar 07 00:39:32 v-fuji-1.us-east1-c.c.ferdyflip-testnet.internal avalanchego[1081]: DEBUG[03-07|00:39:32.717] <e3k9c6RKgouPWtyQkr1ULC2PSFVu6BZdFefXZXJfwJ1zjWsmE Chain> github.com/ava-labs/subnet-evm/peer/network.go:443: forwarding AppGossip to SDK network nodeID=NodeID-Lzo8r6TFVKqcmL5QxboPG4kuNZ5ECJooS gossipLen=128 err="unknown codec version"
from subnet-evm.
All of your validators are running v0.6.0> and with same upgrade.json
files right? Could you send one of validator's debugs logs (full logs)?
This shows a completely different chain: https://devnet.routescan.io/block/1. (last accepted block no is 8).
from subnet-evm.
Yes. I upgraded them yesterday to 1.11.2 + the subnet-evm compiled from head. They all have the same upgrade.json.
I don't have the full logs from yesterday's run, sorry. I can probably restore to that if necessary.
But I went ahead and recreated the subnet (FerdyNet2 now) to see if the issue was that my DB was borked, which is why you see a different chain now. The new chain is working fine, so apparently that's not it.
The next thing I'm going to do is repeat the circumstances which got me into the previous problem, wipe the certificates, regenerate, re-add validators with 2000 weight. Will see if that makes this reproducable.
from subnet-evm.
OK, it seems like this is reproducible.
Startup logs: https://gist.github.com/tactical-retreat/05b073ac017d1554f41c1d7de640f95d
Reproduction instructions:
- create subnet with 3 nodes validating with default weight (20)
- send at least one tx
- take down all validators, delete staking information
- restart avalanchego (no longer validating)
- use new information to register as fuji validators
- register new node ids as subnet validators with stake 2000
- try and send a tx
Tx will hang forever.
from subnet-evm.
3- Did you just delete the staking information or whole database?
5- What new information? Staking certs?
6- Did older validator nodes started validating with same db or did you start new validator nodes from scratch?
from subnet-evm.
3 - just the staking information
cd /mnt/avax-db/config/staking
mkdir .backup2; mv s* .backup2/
sudo systemctl restart avalanchego
5 - node id, bls key, pop. the stuff that core validation site requires that comes out of this command
curl -X POST --data '{
"jsonrpc":"2.0",
"id" :1,
"method" :"info.getNodeID"
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
6 - I used the exact same machines with the exact same db that they had when i stopped avalanchego
from subnet-evm.
Related Issues (20)
- v0.5.10
- Create custom serialization for external structs HOT 3
- Extract Warp Test into Simulator Workload HOT 2
- Issue with deploying subnet in Fuji HOT 4
- Issue building the project HOT 5
- Cannot deploy subnet in Local Network HOT 2
- Many CI jobs cannot be trivially reproduced locally HOT 2
- Replace context.TODOs
- Release v0.5.11
- Linter: check consistency of copyright headers
- [code sync] Update code to go-ethereum 1.12.2
- Flaking Load Test
- Not able to start subnet network with avalanchego 1.11.0 and subnet-evm 0.6.0 HOT 45
- Document Durango Changes
- [code sync] Update code to go-ethereum 1.13.2
- Genesis ChainConfig Timestamp Cleanup
- Invalid bloom error thus shutting down chain bootstrap HOT 4
- ethclient.ChainConfig errors after precompile upgrade
- Deprecate historical proofs from API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subnet-evm.