Skip to content

Commit

Permalink
Merge pull request #16 from aurora-is-near/feat/remove-relayer-and-fee
Browse files Browse the repository at this point in the history
Feat: remove relayer and fee
  • Loading branch information
mrLSD authored Feb 21, 2023
2 parents 1dd41fe + d348a38 commit 7f31306
Show file tree
Hide file tree
Showing 11 changed files with 221 additions and 271 deletions.
10 changes: 10 additions & 0 deletions .env/development.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CARGO_FEATURES_BUILD = "mainnet"
CARGO_FEATURES_BUILD_MIGRATION = "mainnet,migration"
CARGO_FEATURES_BUILD_TEST = "mainnet,integration-test,migration"
CARGO_FEATURES_TEST = ""
RUSTC_FLAGS_BUILD = "-C link-arg=-s"
NEAR_EVM_ACCOUNT = "aurora"
WASM_FILE = "aurora-eth-connector-mainnet.wasm"
WASM_FILE_TEST = "aurora-eth-connector-test.wasm"
NEAR_CLI = "near"
IS_PROD = true
2 changes: 1 addition & 1 deletion .env/mainnet.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CARGO_FEATURES_BUILD = "mainnet"
CARGO_FEATURES_BUILD_MIGRATION = "mainnet,migration"
CARGO_FEATURES_BUILD_TEST = "mainnet,integration-test,migration"
CARGO_FEATURES_TEST = ""
CARGO_FEATURES_TEST = "migration-tests"
RUSTC_FLAGS_BUILD = "-C link-arg=-s"
NEAR_EVM_ACCOUNT = "aurora"
WASM_FILE = "aurora-eth-connector-mainnet.wasm"
Expand Down
2 changes: 1 addition & 1 deletion .env/testnet.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CARGO_FEATURES_BUILD = "mainnet"
CARGO_FEATURES_BUILD_MIGRATION = "mainnet,migration"
CARGO_FEATURES_BUILD_TEST = "mainnet,integration-test,migration"
CARGO_FEATURES_TEST = ""
CARGO_FEATURES_TEST = "migration-tests"
RUSTC_FLAGS_BUILD = "-C link-arg=-s"
NEAR_EVM_ACCOUNT = "aurora"
WASM_FILE = "aurora-eth-connector-testnet.wasm"
Expand Down
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ env_files = [
{ path = ".env/testnet.env", profile = "testnet" },
{ path = ".env/local.env", profile = "local" },
{ path = ".env/custom.env", profile = "custom" },
{ path = ".env/local.env", profile = "development" },
{ path = ".env/development.env", profile = "development" },
]

[config]
Expand Down Expand Up @@ -142,7 +142,7 @@ args = [
]

[tasks.build-test]
condition = { profiles = ["mainnet", "testnet", "custom"] }
condition = { profiles = ["mainnet", "testnet", "development", "custom"] }
env = { "RUSTFLAGS" = "${RUSTC_FLAGS_BUILD}", "CARGO_FEATURES" = "${CARGO_FEATURES_BUILD_TEST}", "WASM_FILE" = "${WASM_FILE_TEST}", "RELEASE" = "--release", "TARGET_DIR" = "release" }
category = "Build"
run_task = "build-contract-flow"
Expand All @@ -169,7 +169,7 @@ category = "Build"
run_task = "build-contract-flow"

[tasks.test-workspace]
condition = { profiles = ["mainnet", "testnet", "custom"] }
condition = { profiles = ["mainnet", "testnet", "development", "custom"] }
category = "Test"
command = "${CARGO}"
args = [
Expand Down
1 change: 1 addition & 0 deletions eth-connector-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ rlp = { version = "0.5.0", default-features = false }
aurora-engine-migration-tool = { git = "https://github.com/aurora-is-near/aurora-engine-migration-tool.git" }

[features]
migration-tests = []
Loading

0 comments on commit 7f31306

Please sign in to comment.