Comments (1)
Hi @cp0k!
TL;DR; The PR #1982 should fix this issue.
The problem is in the tracer.
We use a Block Context (Part of the Espresso HF) at the beginning of the block, to retrieve the rates of all the stables.
That rate is the one used to order and validate the txs that are going to be part of the block. Using this context allow us to avoid reshuffling all the mempool after each tx apply because the applied tx could change the rate of a stable (this is explained in the Espresso HF page).
In this case, that block, has a tx that changes the rate of the cUSD, and the last tx that is trying to execute, uses the cUSD as the currencyFee, and the new rate is bigger that the fee of that transaction.
This happens because the tracer was generating a Block Context after every tx execution, and not sharing the same context created at the beginning of the block.
The PR #1987 should fix this error.
from celo-blockchain.
Related Issues (20)
- blockhash is based on non standard block structure HOT 10
- v1.7.0 seg fault after "Error in retrieving exchange rate", crashed validator
- receiptsRoot hash calculation changed HOT 1
- getTransactionReceipt is returning empty result HOT 4
- Reenable ios build
- "insufficient funds for gas" error when doing debug_traceBlockByNumber on 0x108F49C HOT 1
- Upgrade dependency "github.com/celo-org/celo-bls-go" HOT 1
- `--dev.period` flag does not override DevChainConfig block period HOT 5
- Celo Archive Node Sync Error v1.7.2 HOT 2
- eth_getTransactionReceipt returns null for all transactions in some blocks HOT 10
- GraphQL returns incorrect gasPrice HOT 1
- Failed to deploy to Graph node : network not supported by registrar: no network celo-alfajores found on chain ethereum HOT 1
- Question: `txpool` behaviour after dropping unpayable tx HOT 2
- Risk of Validator double signing due to inconsistent / wrong behavior of `istanbul.start()` and `istanbul.stop()`
- Crypto question abount EIP-2539 HOT 2
- method handler crashed error for prestateTracer HOT 7
- Traces should not include EVM Call's made while executing precompile logic
- hardhat --fork no longer working with Celo HOT 5
- getTransactionReceipt is returning empty result. HOT 10
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 celo-blockchain.