Add a patch for zip so ethereum-serai doesn't conflict with Substrate

Also commits the lock file and updates documentation.
This commit is contained in:
Luke Parker 2022-07-16 17:49:35 -04:00
parent c589743e2b
commit 2bddce2087
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
5 changed files with 9770 additions and 18 deletions

1
.gitignore vendored
View file

@ -1,2 +1 @@
target
Cargo.lock

9747
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -20,3 +20,6 @@ members = [
[profile.release]
panic = "unwind"
[patch.crates-io]
zip = { version = "0.6.2", git = "https://github.com/zip-rs/zip", rev = "bb230ef56adc13436d1fcdfaa489249d119c498f" }

15
coins/ethereum/LICENSE Normal file
View file

@ -0,0 +1,15 @@
AGPL-3.0-only license
Copyright (c) 2022 Luke Parker, Elizabeth Binks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License Version 3 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

View file

@ -1,21 +1,9 @@
# Ethereum
This package contains Ethereum-related functionality, specifically deploying and interacting with Serai contracts.
This package contains Ethereum-related functionality, specifically deploying and
interacting with Serai contracts.
## Requirements
### Dependencies
- anvil & solc & geth's abigen (see [here](https://github.com/gakonst/ethers-rs#running-the-tests))
## To test
To compile contracts:
```
cargo build
```
This places the compiled artifact into `artifacts/`.
To run Rust tests (you must have compiled the contracts first):
```
cargo test
```
- solc
- [Foundry](https://github.com/foundry-rs/foundry)