Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

feat(rpc): fix a bug and update logic #501

Merged
merged 6 commits into from
Jan 14, 2024

Conversation

mask-pp
Copy link
Contributor

@mask-pp mask-pp commented Jan 13, 2024

Bug fix list:

  • In this situation opts != nil && opts.Context == nil, opts will be overridden directly by a new one.
  • If ctx is nil, will appear panic.
  • Close l1HeadSub in Close() function.

Copy link

codecov bot commented Jan 13, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (3908adb) 58.09% compared to head (1939be7) 58.10%.

Files Patch % Lines
pkg/rpc/utils.go 40.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
+ Coverage   58.09%   58.10%   +0.01%     
==========================================
  Files          44       44              
  Lines        5543     5540       -3     
==========================================
- Hits         3220     3219       -1     
+ Misses       2001     1999       -2     
  Partials      322      322              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mask-pp mask-pp changed the title feat(taiko-client): fix bug and upgrade logic feat(taiko-client): fix bug or upgrade logic Jan 13, 2024
@davidtaikocha davidtaikocha changed the title feat(taiko-client): fix bug or upgrade logic feat(rpc): fix a bug and update logic Jan 14, 2024
@davidtaikocha davidtaikocha enabled auto-merge (squash) January 14, 2024 02:16
@davidtaikocha davidtaikocha merged commit 0bb53b4 into main Jan 14, 2024
4 checks passed
@davidtaikocha davidtaikocha deleted the fix/fix_bug_and_upgrade_logic branch January 14, 2024 02:21
davidtaikocha added a commit that referenced this pull request Jan 14, 2024
Co-authored-by: David <david@taiko.xyz>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants