Closed turbolent closed 3 months ago
The updates across various files enhance type safety, streamline data handling, and upgrade dependencies to boost performance and maintainability. Notable changes include the replacement of deprecated methods, refinement of logging mechanisms, and the introduction of new data structures for improved encapsulation. These modifications underscore a commitment to efficient coding practices and robust functionality, ensuring the codebase remains agile and responsive to future needs.
Files | Change Summary |
---|---|
go.mod, tests/go.mod | Updated multiple dependencies, including Pebble to v1.1.1 and Cadence to v1.0.0-preview.39; included new dependency cockroachdb/fifo . |
api/server.go, api/stream.go | Improved logging setup and removed deprecated notifier handling in subscription management. |
models/block.go, models/transaction.go | Simplified handling of transaction hashes and event attributes by removing unnecessary hex decoding. |
models/events.go | Enhanced Transactions method to associate transaction receipts with block hashes. |
services/ingestion/engine.go, services/ingestion/engine_test.go | Modified event handling to use new event types from the events package; adjusted function signatures accordingly. |
services/requester/requester.go | Renamed and changed the type of a variable in the transaction signing process for better type safety. |
tests/web3js/eth_deploy_contract_and_interact_test.js, tests/web3js/eth_non_interactive_test.js | Improved formatting and assertions in test cases to reflect changes in blockchain behavior and enhance readability. |
🐇 Version Song 🎶
With updates new and dependencies bright,
Our code takes flight, with versions right.
Bugs will flee and errors shrink,
As libraries new, in sync, we link.
🐰✨💻
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
There are several changes in flow-go and geth which need to be resolved:
@m-Peter @sideninja The fixes in the dependencies are merged now:
Releases have been tagged in the dependencies, and I updated everything again, which resulted in #382, which I merged into this PR.
It looks like the EVM implementation changed once again and block transaction hashes have been replaced by a transaction hash root. However, I don't know anything about these. From what I can tell this should be the last issue that has to be addressed. Let me know how I can assist!
cc @ramtinms
@turbolent We have incrementally fixed all the breaking changes, via:
So now we have github.com/onflow/cadence v1.0.0-preview.39
in https://github.com/onflow/flow-evm-gateway/pull/381, which a :heavy_check_mark: CI :pray:
Closing this one in favour of https://github.com/onflow/flow-evm-gateway/pull/381 There are a lot of breaking changes that needs addressing.
Awesome, great work @m-Peter and @sideninja! 👏
Description
Automatically update to:
Summary by CodeRabbit
Dependency Updates
Improvements