Skip to content

Commit

Permalink
make int tests optional, rename contract RewardDistribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill-K-1 committed Sep 27, 2024
1 parent b08db43 commit 5af10b7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion event-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ clap = { workspace = true }
assert_matches = { workspace = true }

[features]
default = ["enable-integration-tests"]
default = []
enable-integration-tests = ["shared/enable-integration-tests"]
2 changes: 1 addition & 1 deletion event-indexer/tests/test_rewards_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async fn test_rewards_contract() -> Result<(), anyhow::Error> {

let rewards_contract = deploy_upgradeable_contract(
web3_client.eth(),
include_str!("../../artifacts/RewardDistributionContract.json"),
include_str!("../../artifacts/RewardDistribution.json"),
(),
&owner_secret,
)
Expand Down
2 changes: 1 addition & 1 deletion gov-portal-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ clap = { workspace = true }
assert_matches = { workspace = true }

[features]
default = ["enable-integration-tests"]
default = []
enable-integration-tests = ["shared/enable-integration-tests"]
2 changes: 1 addition & 1 deletion user-verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ rand = { workspace = true }
assert_matches = { workspace = true }

[features]
default = ["enable-integration-tests"]
default = []
enable-integration-tests = ["jsonrpc-core", "shared/enable-integration-tests"]

0 comments on commit 5af10b7

Please sign in to comment.