Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Set waiting period during ap-voting contract setup #426

Description

@maurolacy

Currently the ap-voting contract config in genesis

ArbiterPoolContractConfig: &ArbiterPoolContractConfig{
Name: "Arbiter Pool",
EscrowAmount: sdk.NewCoin(DefaultBondDenom, sdk.NewInt(1_000_000)),
VotingRules: VotingRules{
VotingPeriod: 30,
Quorum: sdk.NewDec(51),
Threshold: sdk.NewDec(55),
AllowEndEarly: true,
},
DisputeCost: sdk.NewCoin(DefaultBondDenom, sdk.NewInt(1_000_000)),
},

does not define a waiting period. This leaves the field at zero, which renders the contract unusable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions