Skip to content

Commit ffec5e2

Browse files
committed
add: protocol eth submodule
1 parent 6a824f3 commit ffec5e2

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/protocol-eth"]
2+
path = lib/protocol-eth
3+
url = https://github.com/AdExNetwork/adex-protocol-eth

adapter/contract/AdExCore.json

-1
This file was deleted.

adapter/contract/Identity.json

-1
This file was deleted.

adapter/src/ethereum.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ use web3::{
2323
};
2424

2525
lazy_static! {
26-
static ref ADEXCORE_ABI: &'static [u8] = include_bytes!("../contract/AdExCore.json");
27-
static ref IDENTITY_ABI: &'static [u8] = include_bytes!("../contract/Identity.json");
26+
static ref ADEXCORE_ABI: &'static [u8] = include_bytes!("../../lib/protocol-eth/abi/AdExCore.json");
27+
static ref IDENTITY_ABI: &'static [u8] = include_bytes!("../../lib/protocol-eth/abi/Identity.json");
2828
}
2929

3030
#[derive(Debug, Clone)]

lib/protocol-eth

Submodule protocol-eth added at 40f2c57

0 commit comments

Comments
 (0)