Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat(solc): add configurable Artifact type #907

Merged
merged 28 commits into from
Feb 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b7cbdfb
refactor: make artifacts a sub mod
mattsse Feb 11, 2022
f5fce94
feat: more options for output selection
mattsse Feb 11, 2022
8bc31c8
Merge branch 'master' into matt/make-artifactoutput-dynamic
mattsse Feb 12, 2022
5c5ad97
feat(solc): make ArtifactOutput struct functions
mattsse Feb 13, 2022
528f165
fix: migrate all features
mattsse Feb 13, 2022
2a5d87a
feat: add configurable artifacts type
mattsse Feb 13, 2022
8463af1
refactor: move configurable to separate file
mattsse Feb 13, 2022
94f1886
feat: impl ArtifactOutput
mattsse Feb 13, 2022
3d076cb
refactor: write extras
mattsse Feb 13, 2022
35ca86b
simplify write extra
mattsse Feb 13, 2022
2f4b642
feat: more helper functions
mattsse Feb 13, 2022
5e7759e
feat: implement delegate
mattsse Feb 13, 2022
da43deb
fix: failing doc test
mattsse Feb 13, 2022
29669f9
Merge branch 'master' into matt/make-artifactoutput-dynamic
mattsse Feb 13, 2022
8767292
fix: rustfmt
mattsse Feb 13, 2022
2df3985
chore: update CHANGELOG
mattsse Feb 13, 2022
ea6a463
Merge branch 'master' into matt/make-artifactoutput-dynamic
mattsse Feb 14, 2022
b345c79
feat: add helper functions
mattsse Feb 14, 2022
7ac07d9
refactor: remove flatten
mattsse Feb 14, 2022
986b073
feat: add link function
mattsse Feb 14, 2022
1944551
feat: replace default type
mattsse Feb 14, 2022
df6e85c
fix: doc tests
mattsse Feb 14, 2022
8ea33da
feat: more utility functions
mattsse Feb 14, 2022
88a0972
Merge branch 'master' into matt/make-artifactoutput-dynamic
mattsse Feb 16, 2022
59e3190
fix: failing tests
mattsse Feb 16, 2022
68a78ff
chore: rename types
mattsse Feb 16, 2022
c090a98
chore: bump ethers-solc 0.3.0
mattsse Feb 16, 2022
c86439e
fix: set metadata file extension properly
mattsse Feb 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@

### Unreleased

- Let `Project` take ownership of `ArtifactOutput` and change trait interface
[#907](https://github.com/gakonst/ethers-rs/pull/907)
- Total revamp of the `Project::compile` pipeline
[#802](https://github.com/gakonst/ethers-rs/pull/802)
- Support multiple versions of compiled contracts
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ethers-core = { version = "^0.6.0", default-features = false, path = "./ethers-c
ethers-providers = { version = "^0.6.0", default-features = false, path = "./ethers-providers" }
ethers-signers = { version = "^0.6.0", default-features = false, path = "./ethers-signers" }
ethers-middleware = { version = "^0.6.0", default-features = false, path = "./ethers-middleware" }
ethers-solc = { version = "^0.2.0", default-features = false, path = "./ethers-solc" }
ethers-solc = { version = "^0.3.0", default-features = false, path = "./ethers-solc" }
ethers-etherscan = { version = "^0.2.0", default-features = false, path = "./ethers-etherscan" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ethers-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ethers-contract-abigen = { version = "^0.6.0", path = "ethers-contract-abigen" }
ethers-contract-derive = { version = "^0.6.0", path = "ethers-contract-derive" }
ethers-core = { version = "^0.6.0", path = "../ethers-core", default-features = false, features = ["eip712"]}
ethers-derive-eip712 = { version = "^0.2.0", path = "../ethers-core/ethers-derive-eip712"}
ethers-solc = { version = "^0.2.0", path = "../ethers-solc", default-features = false }
ethers-solc = { version = "^0.3.0", path = "../ethers-solc", default-features = false }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.5", default-features = false, features = ["macros"] }
Expand Down
2 changes: 1 addition & 1 deletion ethers-etherscan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = ["ethereum", "web3", "etherscan", "ethers"]

[dependencies]
ethers-core = { version = "^0.6.0", path = "../ethers-core", default-features = false }
ethers-solc = { version = "^0.2.0", path = "../ethers-solc", default-features = false }
ethers-solc = { version = "^0.3.0", path = "../ethers-solc", default-features = false }
reqwest = { version = "0.11.9", default-features = false, features = ["json"] }
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.64", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion ethers-etherscan/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ mod tests {
.sources(&root)
.build()
.expect("failed to resolve project paths");
let project = Project::<MinimalCombinedArtifacts>::builder()
let project = Project::builder()
.paths(paths)
.build()
.expect("failed to build the project");
Expand Down
2 changes: 1 addition & 1 deletion ethers-middleware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] }
rand = { version = "0.8.5", default-features = false }
ethers-providers = { version = "^0.6.0", path = "../ethers-providers", default-features = false, features = ["ws", "rustls"] }
once_cell = "1.8.0"
ethers-solc = { version = "^0.2.0", path = "../ethers-solc", default-features = false }
ethers-solc = { version = "^0.3.0", path = "../ethers-solc", default-features = false }
serial_test = "0.5.1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ethers-solc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ethers-solc"
version = "0.2.0"
version = "0.3.0"
authors = ["Matthias Seitz <[email protected]>", "Georgios Konstantopoulos <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2018"
Expand Down
Loading