-
Notifications
You must be signed in to change notification settings - Fork 14
Local register index and state re-execution #553
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
Closed
Closed
Changes from all commits
Commits
Show all changes
187 commits
Select commit
Hold shift + click to select a range
920da4b
add atree ledger implementation in pebble
devbugging e2d86ce
simple state init implementation
devbugging 6e2bc20
creating custom block context wip
devbugging a4d7ff3
add precompiled calls to receipt
devbugging d45f771
Merge branch 'gregor/local-state/database' into gregor/local-state/init
devbugging 5dac5b0
use precompiles in the block context
devbugging d81d50c
Merge branch 'gregor/local-state/database' into gregor/local-state/init
devbugging e59015d
add precompiled calls to receipt factory
devbugging 6f4894f
update to specific flow-go with extended events
devbugging 70ae5f1
add new fields to receipt
devbugging 91a6c32
Merge branch 'main' into gregor/local-state/tx-event-extended
devbugging 12e8d3a
Merge branch 'gregor/local-state/tx-event-extended' into gregor/local…
devbugging c4be2fa
refactor the state context
devbugging d82d0c4
refactor state factory
devbugging 527acba
add transaction to geth transaction api
devbugging a848b19
use geth transaction
devbugging 1ec177a
update state execute
devbugging 0bc496e
remove unneeded api from transaction
devbugging bfc26a4
update state db for direct call and tx
devbugging d62a3f2
go tidy
devbugging 49e7851
add state engine to bootstrap
devbugging 11aca89
add state engine
devbugging 2cb48b5
add integration state test
devbugging 9aaec7e
skip tx validation on emulator
devbugging 9642317
Merge branch 'main' into gregor/local-state/main
devbugging 265dfe1
add bootstrap state index
devbugging 8d42a5f
update changed type
devbugging 496a0ef
export engines and storage
devbugging ea5d95a
expose client
devbugging 0877c0d
remove transaction random and coinbase
devbugging 07a8aec
update coinbase and rand
devbugging b96000d
expose requester
devbugging c7ba551
formatting
devbugging daab1f8
temp debug
devbugging 27e885d
improve test with new bootstrap
devbugging b5f95cb
add compare receipts
devbugging c3e4265
handle compare of results
devbugging df2b6e3
fix test bootstrap
devbugging a2fc6e9
add error message on equal compare
devbugging 471c799
add todo
devbugging ee2988a
wip test state
devbugging c084452
cleanup state
devbugging 6803cad
temp disable hash check
devbugging d57da16
bugfix index usage
devbugging f7f6305
add logger
devbugging 107cdf1
update nonce in test
devbugging 5f3ff04
Merge branch 'main' into gregor/local-state/main
devbugging bb91214
add state index engine to bootstrap
devbugging 2b92d4f
use chain id
devbugging 20565a0
fix bug with index
devbugging c2af01b
refactor the state and engine
devbugging 42708f0
remove old comment
devbugging 5f3fd1c
update api
devbugging 9504e97
update gas used
devbugging e64b3ca
add height to key id
devbugging 71986cd
refactor ledger id
devbugging 4bcad89
rename ledger to register index
devbugging 736a841
lock set height
devbugging 1fd3e20
add basic register test
devbugging 38aed72
change creation of register storage
devbugging 78df44b
remove logs
devbugging fa46656
multiple registers test
devbugging c5f3fb5
add register test at later heights
devbugging 374d56d
test historic balance
devbugging c67a2de
remove todo
devbugging 4eb1229
nicer syntax
devbugging 27ea12e
Merge branch 'gregor/local-state/engine' into gregor/local-state/hist…
devbugging d2b8c85
rename evm and remote
devbugging 4554f46
move evm interface and rename file
devbugging e800a25
move validation and context inside the state
devbugging e039861
add local client
devbugging 3ba5ba2
add support for calls and estimate
devbugging 460cde6
implement call on state
devbugging 584029f
add client handler
devbugging edf82ef
add client handler balancing remote and local
devbugging b2bb7b0
change local client creation
devbugging e3490c3
update local client syntax
devbugging f851e83
bootstrap client handler
devbugging 8613437
update test apis
devbugging 23533df
don't use height with slab indexes
devbugging 56e4bca
Merge branch 'gregor/local-state/main' into gregor/local-state/integrate
devbugging aded8e3
handle failed results
devbugging ec6d724
handle failed results
devbugging 6cf64e4
check errors by value
devbugging cf9c41d
add state re-execution height
devbugging 8ed258d
add evm height
devbugging 2a73273
add pebble implementation for block state
devbugging d912624
update block mock
devbugging 4a7ca08
fend for receipt status
devbugging 0280909
update executed block height
devbugging 80e698f
wip api changes executed height
devbugging 550151c
rename block latest executed and indexed heights
devbugging 7d2d5d1
use latest executed height
devbugging 6829472
return data nil handle
devbugging a4e896f
add ms response time
devbugging 0ddcaa6
use latest executed height on client init
devbugging dd9f945
handle estimate failures
devbugging 832c39d
use specific height, don't use latest height since the local and remo…
devbugging e8ef351
fix tests
devbugging f4c0b83
Merge branch 'main' into gregor/local-state/main
devbugging 2ca4b19
Merge branch 'gregor/local-state/main' into gregor/local-state/state
devbugging 4e7aab7
change evm client height from int to uint
devbugging d1651c4
update block hash resolver change
devbugging 935f68e
client handler api updates
devbugging 8584fa7
update remote client changes
devbugging 1aa026c
return remote values
devbugging f6c4f74
improve time output to ms
devbugging 14ba53b
added cadence arch and environment tests
devbugging 2150fb5
update flow-go with fixed replayer
devbugging 675c7e5
update flow-go
devbugging cf582e6
add todo comments
devbugging a4e500c
extend storage contract to have logs emitted and improve the test
devbugging c20e766
fix test issues and add comment
devbugging d07b8ff
update comment
devbugging d0b5da8
update flow-go to specific version
devbugging ce4eb30
update test with changes
devbugging 5e4201f
remove legacy decode done in flow-go
devbugging 5fb3080
Update README.md
devbugging 4960b86
Merge branch 'gregor/local-state/integrate' into gregor/local-state/main
devbugging 8c319c2
Merge branch 'gregor/local-state/state' into gregor/local-state/main
devbugging 2d6477c
comment out
devbugging fde99b6
comment out
devbugging 0d6af5e
return errs
devbugging da2f408
Merge remote-tracking branch 'origin/gregor/local-state/state' into g…
devbugging 05b4f64
fix test changes in contract storage.sol
devbugging 846283c
fix test changes in contract storage.sol
devbugging 24243a3
Merge branch 'gregor/local-state/state' into gregor/local-state/main
devbugging 20d48a3
add register validator
devbugging 703e692
remove uneeded block fetch
devbugging b1d62e0
Merge branch 'gregor/local-state/integrate' into gregor/local-state/main
devbugging 8723c83
Merge branch 'gregor/local-state/main' into gregor/local-state/check
devbugging a0881de
Merge branch 'gregor/local-state/main' into feature/state
devbugging 6afb1db
Merge branch 'main' into gregor/local-state/state
devbugging dc3a030
Merge branch 'main' into gregor/local-state/integrate
devbugging 65707be
Merge branch 'main' into gregor/local-state/historic
devbugging 169c245
Merge branch 'main' into gregor/local-state/engine
devbugging f44b425
Merge branch 'main' into gregor/local-state/check
devbugging 1d9e57f
add typed error and comments
devbugging a959e64
add option to check register to config
devbugging 3f0f483
use atree type
devbugging 0d58353
log wrong register
devbugging 18e14c0
clear data in map after block validation
devbugging 2ba6449
Merge branch 'gregor/local-state/engine' into feature/state
devbugging 1059dfb
Merge branch 'main' into gregor/local-state/historic
devbugging 4cb9036
Merge remote-tracking branch 'origin/gregor/local-state/historic' int…
devbugging 41c5a0c
add log
devbugging d5874db
Merge branch 'gregor/local-state/historic' into feature/state
devbugging 728923e
use remote client for height and add comment
devbugging 61b9e0e
restrict calling latest evm height
devbugging f75c2c9
remove receipt match
devbugging 73ea0a5
Merge branch 'gregor/local-state/integrate' into feature/state
devbugging ee67501
Merge branch 'gregor/local-state/integrate' into gregor/local-state/s…
devbugging cbb422d
Merge branch 'gregor/local-state/check' into feature/state
devbugging 19cfad7
fix errors handling
devbugging 4830bf1
fix error
devbugging 8a217bb
move validator
devbugging b8e29d3
fix usage of exe client
devbugging dacc700
update new state
devbugging 4d501de
fix wrong balance encoding
devbugging 661c705
use execution client
devbugging 5d8701c
update validation logic
devbugging 59b21ae
fix bootstrap logic
devbugging ac776dd
sync up to missed blocks
devbugging 3138a82
better handle batch close
devbugging 252d699
use batch in the handling of blocks exe
devbugging a3c623d
support usage of batch
devbugging d56cc9d
update api usage
devbugging b97ce67
update api usage
devbugging 14ab876
fix state test
devbugging 02c5e42
fix state test
devbugging 6e24eb6
update flow-go
devbugging 015f11a
fix test api change
devbugging 57f7469
Merge branch 'feature/state' into gregor/local-state/progress
devbugging 35f011a
add init latest executed height
devbugging c83ed0d
Merge remote-tracking branch 'origin/gregor/local-state/progress' int…
devbugging 01ee9ef
revert flow-go ver
devbugging 84b6d1c
revert flow-go ver
devbugging f02a989
add client handler test
devbugging fa1c64d
parse errors
devbugging 89f8fca
handle known errors in client
devbugging 11833eb
Merge pull request #559 from onflow/gregor/local-state/error-handle-fix
devbugging 4e33340
improve comparing res
devbugging 972e2ed
Merge pull request #561 from onflow/gregor/local-state/check-values
devbugging 096e754
patch if
devbugging c8b0815
rename remote ledger
devbugging f96dcb7
add more details to logs
devbugging 16798f2
Merge pull request #556 from onflow/gregor/local-state/progress
devbugging File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have seen
b.blocks.LatestEVMHeight()being replaced sometimes byb.blocks.LatestIndexedHeight()and sometimes byb.blocks.LatestExecutedHeight(). Which should be used in which situation?