Skip to content

Commit

Permalink
Added mock addresses for test setup
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Baltariu <[email protected]>
  • Loading branch information
andreiblt1304 committed Dec 9, 2024
1 parent 307e729 commit d316ac2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions chain-factory/tests/chain_factory_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const CODE_PATH: MxscPath = MxscPath::new("output/chain-factory.mxsc.json");
const CONFIG_ADDRESS: TestSCAddress = TestSCAddress::new("chain-config");
const CONFIG_CODE_PATH: MxscPath = MxscPath::new("../chain-config/output/chain-factory.mxsc.json");

const HEADER_ADDRESS: TestSCAddress = TestSCAddress::new("header-verifier");
const ESDT_SAFE_ADDRESS: TestSCAddress = TestSCAddress::new("esdt-safe");
const FEE_MARKET_ADDRESS: TestSCAddress = TestSCAddress::new("esdt-safe");

const OWNER: TestAddress = TestAddress::new("owner");
const OWNER_BALANCE: u64 = 100_000_000_000;

Expand Down Expand Up @@ -69,9 +73,9 @@ impl ChainFactoryTestState {
.init(
CONFIG_ADDRESS,
CONFIG_ADDRESS,
FACTORY_ADDRESS,
FACTORY_ADDRESS,
FACTORY_ADDRESS,
HEADER_ADDRESS,
ESDT_SAFE_ADDRESS,
FEE_MARKET_ADDRESS,
)
.code(CODE_PATH)
.new_address(FACTORY_ADDRESS)
Expand Down

0 comments on commit d316ac2

Please sign in to comment.