Skip to content
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

dev: replace blocking_write with write #552

Merged
merged 5 commits into from
Sep 19, 2023

Conversation

ftupas
Copy link
Contributor

@ftupas ftupas commented Sep 12, 2023

Time spent on this PR: 0.2

Resolves: #537

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing

What is the new behavior?

Replace blocking_write used in Katana sequencer with write

Does this introduce a breaking change?

  • Yes
  • No

@ftupas ftupas changed the title dev: replace block_write with write dev: replace blocking_write with write Sep 12, 2023
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Patch coverage: 83.65% and project coverage change: +49.58% 🎉

Comparison is base (71506a8) 23.17% compared to head (d4b6d36) 72.76%.
Report is 228 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #552       +/-   ##
===========================================
+ Coverage   23.17%   72.76%   +49.58%     
===========================================
  Files           9       45       +36     
  Lines        1247     4101     +2854     
===========================================
+ Hits          289     2984     +2695     
- Misses        958     1117      +159     
Files Changed Coverage Δ
crates/core/src/mock/serde.rs 0.00% <0.00%> (ø)
crates/core/src/models/transaction.rs 93.63% <ø> (ø)
crates/core/src/models/transaction_receipt.rs 97.02% <ø> (ø)
crates/eth-rpc/src/api/alchemy_api.rs 100.00% <ø> (ø)
crates/eth-rpc/src/api/eth_api.rs 100.00% <ø> (ø)
crates/eth-rpc/src/api/net_api.rs 100.00% <ø> (ø)
crates/eth-rpc/src/api/web3_api.rs 100.00% <ø> (ø)
crates/eth-rpc/src/config.rs 100.00% <ø> (ø)
crates/eth-rpc/src/lib.rs 93.33% <ø> (ø)
crates/eth-rpc/src/main.rs 0.00% <ø> (ø)
... and 35 more

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

crates/hive-utils/src/madara/utils.rs Outdated Show resolved Hide resolved
crates/hive-utils/src/madara/utils.rs Outdated Show resolved Hide resolved
@ftupas ftupas force-pushed the dev/replace-blockingwrite-with-write branch from bc7ffbd to d4b6d36 Compare September 17, 2023 06:40
Copy link
Contributor

@greged93 greged93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, will wait for @ClementWalter to approve

Copy link
Member

@Eikix Eikix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Eikix Eikix added this pull request to the merge queue Sep 19, 2023
Merged via the queue into kkrt-labs:main with commit 802306c Sep 19, 2023
9 checks passed
anukkrit149 pushed a commit to karnotxyz/kakarot-rpc that referenced this pull request Aug 9, 2024
Time spent on this PR: 0.1

## Pull request type

Please check the type of change your PR introduces:

- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):

## What is the current behavior?

After removing the hardcoded Account for devnet, `get_account` was
broken as testnet account uses `getPublicKey` case

## What is the new behavior?

Fix `scripts.utils.get_account` for devnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace blocking_write() used to write in Katana sequencer by write()
4 participants