Skip to content

CentralizedArbitratorWithAppeal.sol increases appealCost on appeal #48

Open
@greenlucid

Description

@greenlucid

Then, a function that uses the incremented appealCount is called to check what the cost is supposed to be.
E.g. Create Dispute: 1e15 ETH
Call Appeal Cost: 1e15 ETH
call appeal{value: 1e15} -> the appealCount gets incremented, appealCost(_disputeID, _extraData) is now 2e15, so reverts with:

[FAIL: InsufficientPayment(1000000000000000 [1e15], 2000000000000000 [2e15])] 

found on a test here: greenlucid/pgtcr#1

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