mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
test: reduce e2e slot time from 2s to 1s (#369)
This commit is contained in:
parent
9344e243cf
commit
728dabb178
4 changed files with 4 additions and 4 deletions
|
|
@ -192,7 +192,7 @@ export const launchNetwork = async (
|
|||
{
|
||||
kurtosisEnclaveName: kurtosisEnclaveName,
|
||||
blockscout: options.blockscout ?? false,
|
||||
slotTime: options.slotTime || 2,
|
||||
slotTime: options.slotTime || 1,
|
||||
kurtosisNetworkArgs: options.kurtosisNetworkArgs,
|
||||
injectContracts
|
||||
},
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
"start:e2e:verified": "bun cli launch --verified --blockscout --deploy-contracts --setup-validators --update-validator-set --fund-validators",
|
||||
"start:e2e:verified:relayers": "bun cli launch --verified --blockscout --deploy-contracts --setup-validators --update-validator-set --fund-validators --relayer --datahaven",
|
||||
"start:e2e:local": "LOG_LEVEL=debug bun start:e2e:ci --bd",
|
||||
"start:e2e:ci": "bun cli launch --datahaven --no-build-datahaven --launch-kurtosis --deploy-contracts --fund-validators --setup-validators --update-validator-set --set-parameters --relayer --clean-network --slot-time 2",
|
||||
"start:e2e:ci": "bun cli launch --datahaven --no-build-datahaven --launch-kurtosis --deploy-contracts --fund-validators --setup-validators --update-validator-set --set-parameters --relayer --clean-network --slot-time 1",
|
||||
"start:e2e:minrelayer": "bun cli launch --relayer --deploy-contracts --no-setup-validators --no-update-validator-set --no-fund-validators --datahaven",
|
||||
"stop:docker:datahaven": "docker rm -f $(docker ps -aq --filter name='^datahaven-') 2>/dev/null || true; docker network rm datahaven-net || true",
|
||||
"stop:docker:relayer": "docker rm -f $(docker ps -aq --filter name='^snowbridge-') 2>/dev/null || true",
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ class NativeTokenTransferTestSuite extends BaseTestSuite {
|
|||
super({
|
||||
suiteName: "native-token-transfer",
|
||||
networkOptions: {
|
||||
slotTime: 2
|
||||
slotTime: 1
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class ValidatorSetUpdateTestSuite extends BaseTestSuite {
|
|||
super({
|
||||
suiteName: "validator-set-update",
|
||||
networkOptions: {
|
||||
slotTime: 2,
|
||||
slotTime: 1,
|
||||
blockscout: false
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue