-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inquiry on Validator Smart Contract Configuration and Node Information Retrieval in QBFT #1722
Comments
|
Oh, I see. I thought this method only worked with IBFT consensus, but when I tested it with the istanbul option while running a QBFT node in Geth, it worked correctly. Thank you @frank-lim-partior so much for your answer! The problem has been resolved :) |
hey @KimH4nKyul I added the example ValidatorAllowlist contract and deployed to an existing chain, I updated the genesis.json like so
but when I try to run
not sure why this is happening! Now even without that transition defined (switching validator methods to contract) I get the same error. Where did I go wrong? cc @frank-lim-partior |
Note: the transition to enable gas worked successfully, but that was included before starting the chain. |
@yohanelly95 |
@KimH4nKyul tried deleting the
So I cannot add block transitions once the chain is live already. And if I do not geth init the nodes again before restarting the genesis transitions updates are not applied! |
@yohanelly95 |
@yohanelly95 have you tried running just |
@yohanelly95, to update transitions, you do need to make a call to One of these values has changed since the previous successful invocation of If your use case is to update transitions only, we have a previous PR that might be helpful: https://github.com/partior-3p/quorum/pull/22/files. W |
I figured it out, yes I needed to run geth init again specifying the data directory and updating transitions did seem to work! Although most forge/cast commands seem to fail or return errors. For eg running forge script, the txn is successful but I never receive a txn receipt so it gets stuck waiting for it. How do I resolve this? |
@rodion-lim-partior @frank-lim-partior created this issue for the foundry issues I am facing. #1726 |
I have asked a question here, but I believe I can get additional information from this place.
Firstly, does a QBFT node need to have the Validator Smart Contract defined in the genesis.json file to have one?
Or is it automatically generated even if it is not defined?
Is it only possible to obtain validator node information on a QBFT node through the Validator Smart Contract? I couldn't find a related RPC API. Am I missing something?
The text was updated successfully, but these errors were encountered: