-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
time to push first transaction in the network has increased since Monday #28877
Comments
It seems like transactions that are being posted later are being processed just fine. If I try deploying the same thing with hardhat a little later it goes through. |
Summarizing, while running against the latest published since Monday
|
Can you please describe the order of events of your test? E.g. are you starting a chain from scratch? When is the block produced? Do you query for receipt immediately after the block is produced? With #28703, we no longer index txs during sync so after a node is synced you'll have to wait a few minutes to query. In your case, it appears you are starting a fresh chain though, so I wouldn't expect this error to pop up, but maybe if you outline the events it will be clearer. |
I am starting a chain from scratch. Going by the logs the first transaction is being posted even before block number=1. |
I am also hitting this issue in my local development node that uses geth.
I am not a Go dev but looking at the code, it looks like this error message is returned at the interface level: https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi/errors.go#L78 |
What's the waiting time configured after sending the transaction? Originally the returned receipt will be none if it's not indexed yet internally, but now an error( Does this change affect your workflow? |
After sending, we call wait right away. Here is the wait function:
I opened a similar issue in web3.py to maybe adjust the waiting function to handle this error.
I believe it affects web3.py wait for transaction receipt method. right now, it fails instead of waiting. So I am 2 dependencies down from this change |
@h4ck3rk3y are you using the hardhat in your project? I think it has the same issue as web3.py has ethereum/web3.py#3212 (comment) Would be nice to open a ticket there too and to align with the new behavior in Geth. |
Related to the web3.py ticket, it would be quite nice to get unique error codes in some situations like these in order to distinguish errors a bit better without relying on the message alone. |
Yeah, I did plan to apply a unique error code for it. But it's more like a geth internal thing and error-code spec is not maintained properly? So i just return We do need to improve it |
@h4ck3rk3y @antazoey could you please try the latest web3.py? |
Yes, the web3.py upgrade did resolve my issue. |
This issue seems to be resolved |
@h4ck3rk3y Which SDK you are using to interact with blockchain? |
Hey, sorry for the silence so far @rjl493456442. I am using Hardhat for this project yes, v2.13. I'll try upgrading tomorrow to check if the behavior is fixed in hardhat or not. |
Hey!
I am Gyani and I work on Kurtosis. We maintain an example https://github.com/kurtosis-tech/awesome-kurtosis/tree/main/smart-contract-example where we show how a smart contract can be deployed against an Etheruem test net spun up using Kurotsis https://github.com/kurtosis-tech/ethereum-package. By default we spin up geth + lighthouse,
latest
images of both.From Tuesday we were noticing that the test was failing https://app.circleci.com/pipelines/github/kurtosis-tech/awesome-kurtosis/1476/workflows/7c9ac168-3b25-43fc-9232-b2da96660edc/jobs/3985
The failure talks about
ProviderError: transaction indexing is in progress
; after much debugging and not finding anything on the internet I decided to read your source codewhich is rather new and only got added on Monday - https://github.com/ethereum/go-ethereum/pull/28703/files#diff-af55d4d4253e0b8b994cedaa88607f84009a0b2971f9b3514afa71efc906a9c5
When I switched to using 1.13.10 https://github.com/kurtosis-tech/awesome-kurtosis/pull/282/files things started working again as expected.
I am wondering if this is a bug or is there some change you expect us to make to the smart contract example.
Tagging @leoporoli from Kurtosis who I have been debugging this with
The text was updated successfully, but these errors were encountered: