Skip to content

feat: support for TLOAD/TSTORE#463

Merged
daejunpark merged 4 commits intomainfrom
feat/t-storage
Feb 19, 2025
Merged

feat: support for TLOAD/TSTORE#463
daejunpark merged 4 commits intomainfrom
feat/t-storage

Conversation

@daejunpark
Copy link
Copy Markdown
Collaborator

@daejunpark daejunpark commented Feb 19, 2025

supports for transient storage.

transient storage has its own storage/address space, separate from persistent storage. transient storage behaves the same with persistent storage within a single tx.

since individual tests are executed within a single tx, no separate logic is needed. in the code, two storage objects are created and use the same logic.

todo: for invariant testing, transient storage needs to be reset after each tx.

@daejunpark daejunpark mentioned this pull request Feb 19, 2025
@0xkarmacoma
Copy link
Copy Markdown
Contributor

wow this is great, even includes the trace rendering 😍

@daejunpark daejunpark enabled auto-merge (squash) February 19, 2025 22:36
@daejunpark daejunpark merged commit e0a4de6 into main Feb 19, 2025
41 checks passed
@daejunpark daejunpark deleted the feat/t-storage branch February 19, 2025 22:36
pcaversaccio added a commit to pcaversaccio/snekmate that referenced this pull request Jun 18, 2025
### 🕓 Changelog

This commit updates the version `pragma`s in all 🐍Vyper source files to
target the latest `master` version `0.4.3rc2`, aligning with the release
of Vyper's newest release candidate version
[`0.4.3rc1`](https://github.com/vyperlang/vyper/releases/tag/v0.4.3rc1).
Furthermore, all 🐍 snekmate contracts now target the new 🐍Vyper [default
EVM version](vyperlang/vyper#4633) `prague`.
Also, we now target the `prague` EVM version for all `halmos`-based
tests, as the previously missing opcodes `MCOPY`, `TLOAD`, and `TSTORE`
have been added via
[a16z/halmos#293](a16z/halmos#293) and
[a16z/halmos#463](a16z/halmos#463). Eventually,
all submodules have been updated to their most recent commits.

---------

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
willbrown84 added a commit to willbrown84/snekmate that referenced this pull request Sep 23, 2025
### 🕓 Changelog

This commit updates the version `pragma`s in all 🐍Vyper source files to
target the latest `master` version `0.4.3rc2`, aligning with the release
of Vyper's newest release candidate version
[`0.4.3rc1`](https://github.com/vyperlang/vyper/releases/tag/v0.4.3rc1).
Furthermore, all 🐍 snekmate contracts now target the new 🐍Vyper [default
EVM version](vyperlang/vyper#4633) `prague`.
Also, we now target the `prague` EVM version for all `halmos`-based
tests, as the previously missing opcodes `MCOPY`, `TLOAD`, and `TSTORE`
have been added via
[a16z/halmos#293](a16z/halmos#293) and
[a16z/halmos#463](a16z/halmos#463). Eventually,
all submodules have been updated to their most recent commits.

---------

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
void-rider5560p added a commit to void-rider5560p/snekmate that referenced this pull request Sep 28, 2025
### 🕓 Changelog

This commit updates the version `pragma`s in all 🐍Vyper source files to
target the latest `master` version `0.4.3rc2`, aligning with the release
of Vyper's newest release candidate version
[`0.4.3rc1`](https://github.com/vyperlang/vyper/releases/tag/v0.4.3rc1).
Furthermore, all 🐍 snekmate contracts now target the new 🐍Vyper [default
EVM version](vyperlang/vyper#4633) `prague`.
Also, we now target the `prague` EVM version for all `halmos`-based
tests, as the previously missing opcodes `MCOPY`, `TLOAD`, and `TSTORE`
have been added via
[a16z/halmos#293](a16z/halmos#293) and
[a16z/halmos#463](a16z/halmos#463). Eventually,
all submodules have been updated to their most recent commits.

---------

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
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.

2 participants