-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[fastx adapter] bytecode verifier pass to ensure immutability + non-reuse of ID's #18
Comments
This was referenced Dec 2, 2021
brson
pushed a commit
to brson/sui
that referenced
this issue
Apr 30, 2024
After Jan's fix on adding terminators to basic blocks with infinite loops, all the remaining tests can be fixed by having a reasonable compute budget. This patch creates a new compute budget for Solana tests. A possible extension will be to allow each test to specify a compute budget (added as a TODO in test_runner.rs:exec_module_tests_solana)
brson
pushed a commit
to brson/sui
that referenced
this issue
Apr 30, 2024
Tests can now add compute_unit_limit as a config. Followups: Remove DEFAULT_EXECUTION_BOUND_SOLANA_STDLIB_TEST added in MystenLabs#18 Parse GAS_BUDGET_HEAP_SIZE Parse GAS_BUDGET_MAX_CALL_DEPTH Fixes: MystenLabs#20
brson
pushed a commit
to brson/sui
that referenced
this issue
Apr 30, 2024
Tests can now add compute_unit_limit as a config. Followups - Remove `DEFAULT_EXECUTION_BOUND_SOLANA_STDLIB_TEST` added in MystenLabs#18 - Parse GAS_BUDGET_HEAP_SIZE - Parse GAS_BUDGET_MAX_CALL_DEPTH Fixes: MystenLabs#20
wlmyng
added a commit
that referenced
this issue
Jun 25, 2024
…ault_page_limit (#18… (#18394) …393) Unblock #18277 by explicitly setting up the correct test scenario for the `test_query_default_page_limit` test. I think we can follow this up with 1. instead of using the same db url, follow sui-graphql-e2e-tests pattern and generate unique db urls for each test 2. this is so that we can run tests in parallel instead of sequentially (which is the case today due to the serial) 3. we can leverage ExecutorCluster.cleanup_resources to cleanup each test How did you test the new or updated feature? --- Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: ## Description Describe the changes or additions included in this PR. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
wlmyng
added a commit
that referenced
this issue
Jun 25, 2024
…fault_page_limit (#18… (#18395) …393) Unblock #18277 by explicitly setting up the correct test scenario for the `test_query_default_page_limit` test. I think we can follow this up with 1. instead of using the same db url, follow sui-graphql-e2e-tests pattern and generate unique db urls for each test 2. this is so that we can run tests in parallel instead of sequentially (which is the case today due to the serial) 3. we can leverage ExecutorCluster.cleanup_resources to cleanup each test How did you test the new or updated feature? --- Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: ## Description Describe the changes or additions included in this PR. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BorrowField
instructions that try to look at anid
field of an object with thekey
ability)Unpack
instruction, it's ID will end up on the stack. This ID should not flow into another object, as that will cause confusion in the world of clients (e.g., an object ID may appear to become associated with new data of a completely different type). This can be enforced with an escape analysis: taint an unpacked ID and ensure that it does not flow into a return value, aPack
or aWriteRef
.Note: the escape analysis will be the most complicated fastX bytecode verifier pass by a good margin. The code for this bytecode verifier pass should live in the fastNFT repo + be run in the adapter on the code path for publishing new Move modules.
The text was updated successfully, but these errors were encountered: