Comments (2)
The nodes crash with the following stack trace:
[!wasp 1]
[!wasp 1] goroutine 165 [running]:
[!wasp 1] github.com/anthdm/hbbft.NewRBC(0x2, 0x0, 0x1, 0xc00026dd70, 0x2, 0x2, 0x0, 0x7fefa05b2c98, 0xc0000f6780, 0x0, ...)
[!wasp 1] /home/dessaya/go/pkg/mod/github.com/kape1395/[email protected]/rbc.go:105 +0x37c
[!wasp 1] github.com/anthdm/hbbft.NewACS(0x2, 0x0, 0x1, 0xc00026dd70, 0x2, 0x2, 0x0, 0x7fefa05b2c98, 0xc0000f6780, 0xc0001ad140)
[!wasp 1] /home/dessaya/go/pkg/mod/github.com/kape1395/[email protected]/acs.go:97 +0x2b0
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus/commonsubset.NewCommonSubset(0x89d0ad466b85f6d0, 0x56ee4b0300000000, 0x2a84a47ef161cc38, 0x9b7abfb6767e2336, 0x5af4214263cf1d07, 0x6ae95fcfbd, 0x22e1b48, 0xc0002d28c0, 0x2, 0x22d5f10, ...)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/commonsubset/commonsubset.go:112 +0x297
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus/commonsubset.(*CommonSubsetCoordinator).getOrCreateCS(0xc0000f6800, 0x89d0ad466b85f6d0, 0xc000000000, 0xc0003009e0, 0x0, 0x0, 0x0)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/commonsubset/commonsubsetcoordinator.go:172 +0x496
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus/commonsubset.(*CommonSubsetCoordinator).RunACSConsensus(0xc0000f6800, 0xc0006c2000, 0xf8, 0x500, 0x89d0ad466b85f6d0, 0xc000000000, 0xc0003009e0)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/commonsubset/commonsubsetcoordinator.go:101 +0x13f
[!wasp 1] github.com/iotaledger/wasp/packages/chain/committee.(*committee).RunACSConsensus(0xc0005800b0, 0xc0006c2000, 0xf8, 0x500, 0x89d0ad466b85f6d0, 0x0, 0xc0003009e0)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/committee/committee.go:239 +0x6e
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus.(*Consensus).proposeBatchIfNeeded(0xc0002d4000)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/action.go:64 +0x27e
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus.(*Consensus).takeAction(0xc0002d4000)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/action.go:33 +0xeb
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus.(*Consensus).eventTimerMsg(0xc0002d4000, 0x0)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/eventproc.go:85 +0xe8
[!wasp 1] github.com/iotaledger/wasp/packages/chain/consensus.(*Consensus).recvLoop(0xc0002d4000)
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/consensus.go:149 +0x2f2
[!wasp 1] created by github.com/iotaledger/wasp/packages/chain/consensus.New
[!wasp 1] /home/dessaya/work/iota/wasp/evm/packages/chain/consensus/consensus.go:102 +0x4f6
The following test reproduces the same error (just trying to deploy a chain with N=2, Q=2:
func TestDeployChainN2Q2(t *testing.T) {
setup(t, "test_cluster")
counter1, err := clu.StartMessageCounter(map[string]int{
"dismissed_chain": 0,
"state": 2,
"request_out": 1,
})
check(err, t)
defer counter1.Close()
committee := clu.Config.AllNodes()[:2]
quorum := 2
_, err = clu.DeployChainWithDKG("my chain", committee, committee, uint16(quorum))
check(err, t)
if !counter1.WaitUntilExpectationsMet() {
t.Fail()
}
}
from wasp.
As a quick workaround, the deploy should work with 4 nodes. Then the setup should tolerate 1 faulty node.
I will look at the way to support clusters of 1<N<4.
from wasp.
Related Issues (20)
- Events emitted but evm state not updated. HOT 1
- Wrong UINT64_MAX constant
- Where possible, prevent Magic numbers
- Pyth oracle implementation: Issue updating the price feeds using the Pyth oracle on ShimmerEVM Testnet/Mainnet HOT 9
- Unable to get matching addresses in Wasp-CLI and Firefly/CLI-Wallet HOT 4
- Move the gasUsed to the right transaction on native L1 Asset transactions.
- Missing values in Receipt HOT 3
- msg.value gives wrong value (Security issue) HOT 13
- Sending NFT from L2 to L1 gets stuck. HOT 4
- wasp-cli register-erc20-native-token foundry-sn HOT 5
- Metamask does not display the to-be-sent tokens
- Value transactions calling ISCMagic can utilize wrong account
- Missing CONTRIBUTING file
- Failure to compile the wasmclient package for 32bit system
- Failur to run a wasp node locally : tools/local-set-up HOT 4
- Bug when using if with a condition based on some entropy value HOT 4
- Bug: Adding import to smart contract causes deployment to fail HOT 1
- Deploy solidity smart contract on wasp node using wasp-cli HOT 3
- Wasp-cli chain deposit command fails when gas fees are set to 0
- Encountering Errors When Transferring Funds from Wasp Chain to Ethereum Metamask Account
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 wasp.