-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
👷 Chore: Productionize contract package #1442
Changes from all commits
2515246
e4d9798
fd1ed68
29dcf59
b2bc8ed
5fb90ff
a29bb45
2e8e47d
f0376e7
47a1d68
f3ff7b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@tevm/procedures": patch | ||
"@tevm/state": patch | ||
--- | ||
|
||
Fixed race condition in getTransactionCount |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tevm/contract": patch | ||
--- | ||
|
||
Do a jsdoc overhaul of tevm/contract |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tevm/contract": patch | ||
--- | ||
|
||
Fixed bug where write methods were showing up as both write and read methods |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tevm/common": minor | ||
--- | ||
|
||
Removed experimental script property from contract instance. This allows encodeDeployData to treeshake |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tevm/contract": minor | ||
--- | ||
|
||
Added `withCode` method to contract to add code. This replaces the previous script property | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -76,6 +77,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
|
@@ -75,6 +76,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -74,6 +75,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -79,6 +80,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -77,6 +78,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -67,6 +68,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"contributors": [ | ||
"Will Cory <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
|
@@ -74,6 +75,5 @@ | |
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tip
Codebase Verification
Inconsistency found: 'script:' property still present in codebase
The changeset message states that the 'withCode' method replaces the previous 'script' property. However, our verification reveals that the 'script:' property is still present in multiple files across the codebase. While the 'withCode' method has been implemented and is being used in tests, the transition appears to be incomplete.
Action items:
Please ensure that all necessary updates are made before finalizing this change to maintain consistency and prevent potential issues.
Analysis chain
Changeset looks good! Verify the impact of the breaking change.
The changeset file follows the correct format and provides a clear description of the changes. The addition of the
withCode
method and removal of thescript
property seems like a good improvement to streamline the process of adding code to contracts.However, please ensure that all current usages of the
script
property are updated to usewithCode
instead, as this is a breaking change.Run the following script to verify the usage of the
script
property:Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 65
Script:
Length of output: 8429