Skip to content

Commit 6c3f3ae

Browse files
committed
adapter - use protocol-eth ABI & bytecode paths
- adapter - ABI & bytecode files clean up
1 parent 8c5bb9b commit 6c3f3ae

File tree

6 files changed

+3
-11
lines changed

6 files changed

+3
-11
lines changed

adapter/Depositorbytecode.json

-1
This file was deleted.

adapter/ERC20.json

-1
This file was deleted.

adapter/OUTPACEbytecode.json

-1
This file was deleted.

adapter/Sweeper.json

-1
This file was deleted.

adapter/Sweeperbytecode.json

-1
This file was deleted.

adapter/src/ethereum.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,13 @@ use test_utils::*;
3737
mod error;
3838

3939
lazy_static! {
40-
// TODO: Deprecated! This is v4!
41-
static ref ADEXCORE_ABI: &'static [u8] =
42-
include_bytes!("../../lib/protocol-eth/abi/AdExCore.json");
4340
static ref OUTPACE_ABI: &'static [u8] =
4441
include_bytes!("../../lib/protocol-eth/abi/OUTPACE.json");
4542
// TODO: Fix it once ERC20 and OUTPACE are merged
46-
static ref ERC20_ABI: &'static [u8] = include_str!("../ERC20.json").trim_end_matches('\n').as_bytes();
43+
static ref ERC20_ABI: &'static [u8] = include_str!("../../lib/protocol-eth/abi/ERC20.json").trim_end_matches('\n').as_bytes();
4744
// TODO: Open PR with those in protocol-eth and sync module once it's ready
48-
static ref SWEEPER_ABI: &'static [u8] = include_bytes!("../Sweeper.json");
49-
static ref DEPOSITOR_BYTECODE: &'static [u8] = include_bytes!("../Depositorbytecode.json");
45+
static ref SWEEPER_ABI: &'static [u8] = include_bytes!("../../lib/protocol-eth/abi/Sweeper.json");
46+
static ref DEPOSITOR_BYTECODE: &'static [u8] = include_bytes!("../../lib/protocol-eth/resources/bytecode/Depositor.json");
5047
}
5148

5249
#[cfg(test)]

0 commit comments

Comments
 (0)