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

✨ Feat: Add back bytecode to evmts compiles #668

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

roninjin10
Copy link
Collaborator

Description

Add back bytecode to evmts bundler. If a contract ends in .s.sol we compile it's bytecode.

Testing

Explain the quality checks that have been done on the code changes

Additional Information

Your ENS/address:

Copy link

vercel bot commented Nov 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
evmts-docs ❌ Failed (Inspect) Nov 17, 2023 7:28pm

Copy link

changeset-bot bot commented Nov 16, 2023

🦋 Changeset detected

Latest commit: 18111aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@evmts/ts-plugin Minor
@evmts/unplugin Minor
@evmts/runtime Minor
@evmts/core Minor
@evmts/base Minor
@evmts/solc Minor
@evmts/bun-plugin Minor
@evmts/bundler Minor
@evmts/esbuild-plugin Minor
@evmts/rollup-plugin Minor
@evmts/rspack-plugin Minor
@evmts/vite-plugin Minor
@evmts/webpack-plugin Minor
@evmts/experimental-solc Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@roninjin10
Copy link
Collaborator Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/core (./packages/core)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 186 / 186
🟢 Statements 100% / 100% 186 / 186
🟢 Functions 100% / 100% 7 / 7
🟢 Branches 100% / 100% 19 / 19
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/core/src/evmtsContractFactory.ts 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/ethers (./extensions/ethers)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 20 / 20
🟢 Statements 100% / 100% 20 / 20
🟢 Functions 100% / 100% 0 / 0
🟢 Branches 100% / 100% 0 / 0
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/bun-plugin (./bundler/bun)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 120 / 120
🟢 Statements 100% / 100% 120 / 120
🟢 Functions 100% / 100% 4 / 4
🟢 Branches 100% / 100% 15 / 15
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/bun/src/plugin.js 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/esbuild-plugin (./bundler/esbuild)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 3 / 3
🟢 Statements 100% / 100% 3 / 3
🟢 Functions 100% / 100% 0 / 0
🟢 Branches 100% / 100% 0 / 0
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/config (./bundler/config)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 701 / 701
🟢 Statements 100% / 100% 701 / 701
🟢 Functions 100% / 100% 33 / 33
🟢 Branches 98.91% / 98% 91 / 92
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/schemas (./packages/schemas)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 4478 / 4478
🟢 Statements 100% / 100% 4478 / 4478
🟢 Functions 100% / 100% 255 / 255
🟢 Branches 100% / 100% 309 / 309
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/blockexplorer (./packages/blockexplorer)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 250 / 250
🟢 Statements 100% / 100% 250 / 250
🟢 Functions 100% / 100% 10 / 10
🟢 Branches 100% / 100% 19 / 19
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/unplugin (./bundler/unplugin)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 113 / 113
🟢 Statements 100% / 100% 113 / 113
🟢 Functions 100% / 100% 4 / 4
🟢 Branches 100% / 100% 20 / 20
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/unplugin/src/evmtsUnplugin.js 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/resolutions (./bundler/resolutions)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 582 / 582
🟢 Statements 100% / 100% 582 / 582
🟢 Functions 100% / 100% 35 / 35
🟢 Branches 100% / 100% 85 / 85
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/effect (./packages/effect)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 243 / 243
🟢 Statements 100% / 100% 243 / 243
🟢 Functions 100% / 100% 22 / 22
🟢 Branches 100% / 100% 34 / 34
File CoverageNo changed files found.
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/base (./bundler/base)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 285 / 285
🟢 Statements 100% / 100% 285 / 285
🟢 Functions 100% / 100% 13 / 13
🟢 Branches 100% / 100% 57 / 57
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/base/src/bundler.js 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/ts-plugin (./bundler/ts-plugin)

Status Category Percentage Covered / Total
🟢 Lines 91.21% / 91% 623 / 683
🟢 Statements 91.21% / 91% 623 / 683
🟢 Functions 96.96% / 96% 32 / 33
🟢 Branches 86.84% / 86% 99 / 114
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/ts-plugin/src/decorators/getDefinitionAtPosition.ts 75.18% 45.83% 100% 75.18% 39-40, 50-54, 62-68, 70-76, 84, 88-94, 106-107, 113, 117-118
bundler/ts-plugin/src/decorators/getScriptSnapshot.ts 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/runtime (./bundler/runtime)

Status Category Percentage Covered / Total
🟢 Lines 100% / 100% 130 / 130
🟢 Statements 100% / 100% 130 / 130
🟢 Functions 100% / 100% 3 / 3
🟢 Branches 95.23% / 95% 20 / 21
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/runtime/src/generateEvmtsBody.js 100% 100% 100% 100%
bundler/runtime/src/generateEvmtsBodyDts.js 100% 80% 100% 100%
bundler/runtime/src/generateRuntime.js 100% 100% 100% 100%
Generated in workflow #1332

Copy link
Contributor

github-actions bot commented Nov 16, 2023

Coverage Report for @evmts/solc (./bundler/solc)

Status Category Percentage Covered / Total
🟢 Lines 92.77% / 92% 488 / 526
🟢 Statements 92.77% / 92% 488 / 526
🟢 Functions 100% / 100% 14 / 14
🟢 Branches 72.72% / 72% 48 / 66
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
bundler/solc/src/resolveArtifacts.js 100% 100% 100% 100%
bundler/solc/src/resolveArtifactsSync.js 100% 100% 100% 100%
bundler/solc/src/compiler/compileContracts.js 87.17% 50% 100% 87.17% 126-129, 131-133, 136-148
bundler/solc/src/compiler/compileContractsSync.js 87.32% 47.05% 100% 87.32% 114-116, 118-119, 122-134
Generated in workflow #1332

@roninjin10 roninjin10 force-pushed the 11-15-feat_Add_back_bytecode_to_evmts_compiles branch from 0b1f5ef to adfb787 Compare November 16, 2023 05:24
@roninjin10 roninjin10 force-pushed the 11-15-fix_ts-plugin_Fix_common.js_imports branch from 1ce1e8e to e1006eb Compare November 16, 2023 05:29
@roninjin10 roninjin10 force-pushed the 11-15-feat_Add_back_bytecode_to_evmts_compiles branch from adfb787 to 58d670c Compare November 16, 2023 05:29
Base automatically changed from 11-15-fix_ts-plugin_Fix_common.js_imports to main November 16, 2023 05:42
@roninjin10 roninjin10 force-pushed the 11-15-feat_Add_back_bytecode_to_evmts_compiles branch from 25b2c5b to 18111aa Compare November 17, 2023 19:24
@roninjin10 roninjin10 merged commit 31ed39a into main Nov 17, 2023
9 of 10 checks passed
@roninjin10 roninjin10 deleted the 11-15-feat_Add_back_bytecode_to_evmts_compiles branch November 17, 2023 19:29
@github-actions github-actions bot mentioned this pull request Nov 17, 2023
roninjin10 pushed a commit that referenced this pull request Nov 17, 2023
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

### Patch Changes

- Updated dependencies
\[[`2f13396d`](2f13396),
[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]
    -   @evmts/[email protected]
    -   @evmts/[email protected]
    -   @evmts/[email protected]
    -   @evmts/[email protected]
    -   @evmts/[email protected]
    -   @evmts/[email protected]

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]
    -   @evmts/[email protected]

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

### Patch Changes

- [#671](#671)
[`2f13396d`](2f13396)
Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug with
@evmts/core imports resolving the wrong types sometimes when ts-plugin
is used.

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]
    -   @evmts/[email protected]

## @evmts/[email protected]

### Minor Changes

- [#668](#668)
[`31ed39a5`](31ed39a)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added back
bytecode to EVMts bundler. When the compiler encounters a file ending in
.s.sol it will compile the bytecode in addition to the abi

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`31ed39a5`](31ed39a)]:
    -   @evmts/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant