Skip to content

Commit

Permalink
chore(packages/testcontainers): allow neutral voting (#2014)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:

Fixes test failures for DeFiCh/ain#1709
  • Loading branch information
shohamc1 authored Feb 3, 2023
1 parent 5964709 commit a60765d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/testcontainers/src/containers/DeFiDContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export abstract class DeFiDContainer extends DockerContainer {
if (process?.env?.DEFICHAIN_DOCKER_IMAGE !== undefined) {
return process.env.DEFICHAIN_DOCKER_IMAGE
}
return 'defi/defichain:3.2.2'
return 'defi/defichain:HEAD-5e41f6f20'
}

public static readonly DefaultStartOptions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export class RegTestContainer extends DeFiDContainer {
'-grandcentralheight=16',
'-grandcentralepilogueheight=17',
'-regtest-skip-loan-collateral-validation',
'-regtest-minttoken-simulate-mainnet=0'
'-regtest-minttoken-simulate-mainnet=0',
'-rpc-governance-accept-neutral=1'
]

if (opts.startFlags != null && opts.startFlags.length > 0) {
Expand Down

0 comments on commit a60765d

Please sign in to comment.