Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

genesis block, create block endpoint, performace optimizations, initial boot optimization, fix 188 #189

Merged
merged 30 commits into from
Aug 4, 2022

Conversation

tabaktoni
Copy link
Contributor

@tabaktoni tabaktoni commented Jul 21, 2022

Usage related changes

🐛 fix estimate fee (fix #188)
🐛 fix rpc starknet_blockNumber (fix #210)
⚡️ increase TTFB performance by initializing on boot 1s
⚡️ increase performance by async optimization
🎨 devnet start with genesis block
🎨 fix endpoint first request glitch waiting for initialization
✨ method for creating empty blocks
✨ API endpoint for creating empty blocks

Checklist:

  • No linter errors
  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Documented the changes
  • Linked the issues which this PR resolves
  • Updated the tests
  • All tests are passing

@tabaktoni tabaktoni self-assigned this Jul 21, 2022
@tabaktoni tabaktoni requested a review from FabijanC July 21, 2022 11:37
@tabaktoni tabaktoni changed the title fix(118) warning on zero division with normal response feature: create empty block, empty block endpoint, performace optimizations, initial boot optimization Jul 22, 2022
@tabaktoni tabaktoni changed the title feature: create empty block, empty block endpoint, performace optimizations, initial boot optimization 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization Jul 22, 2022
@tabaktoni tabaktoni changed the title 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization, fix 118 Jul 22, 2022
@tabaktoni tabaktoni changed the title 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization, fix 118 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization, fix 188 Jul 22, 2022
@tabaktoni tabaktoni changed the title 🚧 feature: create empty block + endpoint, performace optimizations, initial boot optimization, fix 188 Start devnet with genesis block, empty block function + endpoint, performace optimizations, initial boot optimization, fix 188 Jul 27, 2022
@tabaktoni tabaktoni requested review from FabijanC and Nathan-SL July 27, 2022 09:50
@tabaktoni tabaktoni changed the title Start devnet with genesis block, empty block function + endpoint, performace optimizations, initial boot optimization, fix 188 genesis block, create block endpoint, performace optimizations, initial boot optimization, fix 188 Jul 27, 2022
test/test_timestamps.py Outdated Show resolved Hide resolved
starknet_devnet/starknet_wrapper.py Outdated Show resolved Hide resolved
starknet_devnet/blueprints/base.py Outdated Show resolved Hide resolved
starknet_devnet/blueprints/base.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
test/test_endpoints.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
test/test_endpoints.py Outdated Show resolved Hide resolved
starknet_devnet/blocks.py Show resolved Hide resolved
starknet_devnet/blueprints/feeder_gateway.py Show resolved Hide resolved
@tabaktoni tabaktoni requested a review from FabijanC August 2, 2022 17:04
test/test_estimate_fee.py Outdated Show resolved Hide resolved
test/test_endpoints.py Outdated Show resolved Hide resolved
@tabaktoni tabaktoni requested a review from FabijanC August 3, 2022 16:14
@FabijanC FabijanC merged commit b961de8 into master Aug 4, 2022
@FabijanC FabijanC deleted the fix/188-zero-division-gas-price branch August 4, 2022 07:56
@FabijanC FabijanC mentioned this pull request Aug 4, 2022
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_block_number always returns 0 inside the contract Zero division gas price
2 participants