-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR decouples the deployment futures from truffle. This accomplishes two things: - Sets us up for generating code from non-truffle sources (for example #112) - Gives us more control over how the generated code (for example #100) ### Test Plan CI - This is mostly a refactoring and adding new abstractions ### Commit HIstory * refactor a bit to uncouple contract from truffle artifacts * abstracted away need for truffle artifact for deployments * rename private module * deployed is now generated with new traits * refactor deployment traits * fix unit tests and deploy code * cargo clippy+fmt * use Self where it makes sense * Networks -> Deployments
- Loading branch information
Showing
12 changed files
with
264 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
//! Crate for common times shared between the `ethcontract` runtime crate as and | ||
//! the `ethcontract-derive` crate. | ||
pub mod bytecode; | ||
pub mod errors; | ||
mod str; | ||
pub mod truffle; | ||
|
||
pub use crate::bytecode::Bytecode; | ||
pub use crate::truffle::Artifact; | ||
pub use ethabi::{self as abi, Contract as Abi}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.