Skip to content

Commit 601031d

Browse files
authored
🔁 Update 🐍Vyper Version pragma to 0.4.3 (#332)
### 🕓 Changelog This PR updates the version `pragma`s in all 🐍Vyper source files to target 🐍Vyper's latest production version [`0.4.3`](https://github.com/vyperlang/vyper/releases/tag/v0.4.3). Additionally, all submodules have been updated to their most recent commits. --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 7846044 commit 601031d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+71
-71
lines changed

.gas-snapshot

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Vyper version: 0.4.3rc2+commit.d29b521f
2-
Forge version: forge 1.2.3-nightly (2ddd74a 2025-06-17T06:02:39.376649905Z)
1+
Vyper version: 0.4.3+commit.bff19ea2
2+
Forge version: forge 1.2.3-nightly (bfc53de 2025-06-19T06:02:56.696032826Z)
33
Vyper config:
44
{
55
"optimize": "gas"
@@ -723,12 +723,12 @@ SignatureCheckerTest:testFuzzEOAWithInvalidSignature(bytes,string) (runs: 256,
723723
SignatureCheckerTest:testFuzzEOAWithInvalidSigner(string,string) (runs: 256, μ: 20319, ~: 20318)
724724
SignatureCheckerTest:testFuzzEOAWithValidSignature(string,string) (runs: 256, μ: 20251, ~: 20250)
725725
SignatureCheckerTest:testInitialSetup() (gas: 8356)
726-
TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1249)
726+
TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1248)
727727
TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1227)
728-
TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1200)
728+
TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1201)
729729
TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1236)
730730
TimelockControllerInvariants:statefulFuzzOnceProposalExecution() (runs: 256, calls: 3840, reverts: 1247)
731-
TimelockControllerInvariants:statefulFuzzProposalsExecutedMatchCount() (runs: 256, calls: 3840, reverts: 1248)
731+
TimelockControllerInvariants:statefulFuzzProposalsExecutedMatchCount() (runs: 256, calls: 3840, reverts: 1249)
732732
TimelockControllerInvariants:statefulFuzzSumOfProposals() (runs: 256, calls: 3840, reverts: 1249)
733733
TimelockControllerTest:testAdminCannotBatchExecute() (gas: 750618)
734734
TimelockControllerTest:testAdminCannotBatchSchedule() (gas: 748405)

.gas-snapshot-venom

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Vyper version: 0.4.3rc2+commit.d29b521f
2-
Forge version: forge 1.2.3-nightly (2ddd74a 2025-06-17T06:02:39.376649905Z)
1+
Vyper version: 0.4.3+commit.bff19ea2
2+
Forge version: forge 1.2.3-nightly (bfc53de 2025-06-19T06:02:56.696032826Z)
33
Vyper config:
44
{
55
"optimize": "gas",
@@ -724,7 +724,7 @@ SignatureCheckerTest:testFuzzEOAWithInvalidSignature(bytes,string) (runs: 256,
724724
SignatureCheckerTest:testFuzzEOAWithInvalidSigner(string,string) (runs: 256, μ: 20008, ~: 20007)
725725
SignatureCheckerTest:testFuzzEOAWithValidSignature(string,string) (runs: 256, μ: 19940, ~: 19939)
726726
SignatureCheckerTest:testInitialSetup() (gas: 8370)
727-
TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1222)
727+
TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1223)
728728
TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1269)
729729
TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1263)
730730
TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1230)

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ jobs:
109109
awesome_bot ./*.md src/snekmate/**/*.vy src/snekmate/**/mocks/*.vy src/snekmate/**/interfaces/*.vyi \
110110
test/**/*.sol test/**/interfaces/*.sol test/**/mocks/*.sol test/**/scripts/*.js scripts/*.sh lib/utils/*.sol lib/utils/*.py \
111111
--allow-dupe --allow-redirect --request-delay 0.4 \
112-
--white-list https://www.wagmi.xyz,https://github.com/pcaversaccio/snekmate.git@,https://github.com/vyperlang/vyper.git@,https://github.com/pcaversaccio/snekmate/releases/tag/v0.1.2,https://github.com/pcaversaccio/snekmate/blob/v0.1.2,https://github.com/pcaversaccio/snekmate/compare/v0.1.1...v0.1.2,https://hyperelliptic.org,https://github.com/vyperlang/vyper/releases/tag/v0.4.3
112+
--white-list https://www.wagmi.xyz,https://github.com/pcaversaccio/snekmate.git@,https://github.com/vyperlang/vyper.git@,https://github.com/pcaversaccio/snekmate/releases/tag/v0.1.2,https://github.com/pcaversaccio/snekmate/blob/v0.1.2,https://github.com/pcaversaccio/snekmate/compare/v0.1.1...v0.1.2,https://hyperelliptic.org

src/snekmate/auth/access_control.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
# pragma nonreentrancy off
33
"""
44
@title Multi-Role-Based Access Control Functions

src/snekmate/auth/interfaces/IAccessControl.vyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
"""
33
@title `access_control` Interface Definition
44
@custom:contract-name IAccessControl

src/snekmate/auth/mocks/access_control_mock.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
# pragma nonreentrancy off
33
"""
44
@title `access_control` Module Reference Implementation

src/snekmate/auth/mocks/ownable_2step_mock.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
# pragma nonreentrancy off
33
"""
44
@title `ownable_2step` Module Reference Implementation

src/snekmate/auth/mocks/ownable_mock.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
# pragma nonreentrancy off
33
"""
44
@title `ownable` Module Reference Implementation

src/snekmate/auth/ownable.vy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pragma version ~=0.4.3rc2
1+
# pragma version ~=0.4.3
22
# pragma nonreentrancy off
33
"""
44
@title Owner-Based Access Control Functions

0 commit comments

Comments
 (0)