Problem: conflict of index uniqueness constrain violation on trace api#1753
Problem: conflict of index uniqueness constrain violation on trace api#1753mmsqe merged 4 commits intocrypto-org-chain:mainfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1753 +/- ##
===========================================
+ Coverage 16.87% 35.56% +18.68%
===========================================
Files 72 126 +54
Lines 6163 11920 +5757
===========================================
+ Hits 1040 4239 +3199
- Misses 5000 7256 +2256
- Partials 123 425 +302 |
WalkthroughThis pull request updates dependency versions and related hashes in both the Changes
Sequence Diagram(s)sequenceDiagram
participant TS as Test Script
participant NC as Node Control
participant CLI as CosmosCLI
participant DB as Version Database
TS->>NC: Stop node (cronos_777-1-node0)
NC-->>TS: Confirm node stopped
TS->>TS: Wait for 3 seconds
TS->>CLI: Call changeset_fixdata(versiondb_dir, dry_run)
CLI->>DB: Execute "changeset fixdata" command
DB-->>CLI: Return data fix result
TS->>NC: Restart node
TS->>TS: Query account (Ethereum-to-Bech32 conversion)
alt Account not found
TS->>CLI: Send transaction & request debug trace
end
TS->>TS: Upgrade to v1.4 and assert EVM parameters
TS->>NC: Request post-upgrade debug trace
NC-->>TS: Return trace result
TS->>TS: Compare pre- and post-upgrade traces
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (9)
✨ Finishing Touches
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
crypto-org-chain#1753) * Problem: conflict of index uniqueness constrain violation on trace api * test * update deps * bump go
* Problem: unable to resolve octokit action v2.0.0 (#1750) for more info, https://github.com/crypto-org-chain/cronos/actions/runs/13386690642 * Problem: conflict of index uniqueness constrain violation on trace api (#1753) * Problem: conflict of index uniqueness constrain violation on trace api * test * update deps * bump go * Problem: slices in ReadOptions is freed by gc while referenced in rocksdb (#1751) * Problem: no deallocate read options * doc * sync deps * add doc * Problem: ReadOptions mutated by reference release in iterator fix is not included * deps
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make)make test)go fmt)golangci-lint run)go list -json -m all | nancy sleuth)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
Chores
Tests