forked from archethic-foundation/archethic-node
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Validate Smart Contract Calls #57 #1
Open
netboz
wants to merge
68
commits into
develop
Choose a base branch
from
pr_57_validate_smart_contract_calls
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
17ac581
to
58e6a69
Compare
299c122
to
61b2ced
Compare
32ed025
to
cfa4fc6
Compare
…ons (archethic-foundation#899) * ensure code proposal contains a valid appup file with the right versions * review feedbacks * refactor tests and get_changes function * fixed appup validation to also handle up and down instructions and enhanced tests
…ion#883) * Fixing legacy tests * Addressing comments * Filling LRU cache at summary parsing * Adding ets to LRU migration commands in code change * Fixing $end_of_table when migrating plus minor changes * Fixing release upgrade ( start LRU in code change + fixes )
* restart self repair when it crashes * fixed tests * enhanced implementation and added tests * enhance retry in self repair and self repair scheduler * small typo * refactoring and added more tests * make sure that bootstrap_sync fails when max_retry_count is reached
- verify whether node is synced ? - last scheduling time is not too old - manually ask network - Augment Message.NewTransaction with a welcome node key - update tests to handle new tx with protocol chain NSS synchronization
- improve aliasing of archethic modules - Dialyzer warning was due to a missing archethic alias - Oracle/Reward Scheduler test failures were due to a persistent term not being nil or cleared after tests - Graphql schema test crashes : add message reply for get Beacon aggreagte
…ation#903) * Add modules for library and transaction statements * Enable loops * Improve testing * Improve some error messages * Enable ranges * Handle map[field] syntax * Allow code blocks in the condition interpreter * Support several scopes * Fix double execution of contract
It is faster & require less memory
* Adding initial keys for hydrating caches * Adding hydrating cache code * Adding cache to supervisor * Using cache in agregator * Increasing deault ttl * Fixing querying when no initial value plus bugfixes * Starting cache as first child * Adding tests * Adding test for manager + refinement * Addressing comments * Uncreasing oracle service frequency to be closer to real use ( and removing coco service ) * Adding 3 secs timeout when fethcing value from cache * Managing case when value is requested but couldn't have been initialised * Adding cast to request hydrating function registration from api * Adding tests * Adding timeout support for ttl plus refinement * Using prior value if no new value for a curreny ( fixes archethic-foundation#836 ) * Fixing TTL bug * Reverting changes on cache manager * Removing cache manager, better hydrating cache name management * Addressing MR comments plus bugfixes * Adding get_all to get all keys from hydrating cache plus tests * Preventing pipeline race condition * Move HydratingCache into ArchethicCache folder * replace erlang timer with elixir's * Improve task monitoring and tests The renewal of the hydrating message is done after the task is completed The timers are persisted in the state to have a better monitoring The tests are now using :erlang.trace to avoid undeterministic behaviors based on time. * Hydrating Cache accepts CRON intervals * Add a timeout for the hydrating function --------- Co-authored-by: Bastien CHAMAGNE <bastien@chamagne.fr> Co-authored-by: Samuel Manzanera <samuelmanzanera@protonmail.com>
transaction validation
Update replication attestation validation
4cac2d8
to
bbe896d
Compare
c27deb7
to
d4b9797
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Provide an endpoint to pre-validate smart contract execution
Fixes archethic-foundation#57
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: