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

Support for storage array delete ops #138

Merged
merged 4 commits into from
May 27, 2024
Merged

Support for storage array delete ops #138

merged 4 commits into from
May 27, 2024

Conversation

sifislag
Copy link
Collaborator

Add some support for array delete operations.
Output relation is the following:

/**
  An `array` is deleted by setting its length to zero in `sstore` and then erasing all its contents in a following `loop`. 
*/
.decl ArrayDeleteOp(sstore: Statement, loop: Block, array: StorageConstruct)

Also added some cases in InductionVariableUpperBoundVar, and better documented the rules.

Copy link

Test Results (Souffle 2.3)

55 tests  ±0   55 ✅ ±0   32m 53s ⏱️ +28s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit ce5172a. ± Comparison against base commit 09d12c2.

Copy link

Test Results (Souffle 2.4)

55 tests  ±0   55 ✅ ±0   33m 33s ⏱️ -31s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit ce5172a. ± Comparison against base commit 09d12c2.

@sifislag sifislag merged commit 3743eba into master May 27, 2024
5 checks passed
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.

None yet

1 participant