Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Jan 21, 2025
1 parent 893b5e0 commit f38e4f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions codex/contracts/marketplace.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export erc20 except `%`, `%*`, toJson
export config
export requests

type Marketplace* = ref object of Contract
type
Marketplace* = ref object of Contract
Marketplace_RepairRewardPercentageTooHigh* = object of SolidityError
Marketplace_SlashPercentageTooHigh* = object of SolidityError
Marketplace_MaximumSlashingTooHigh* = object of SolidityError
Expand Down Expand Up @@ -172,10 +173,6 @@ proc markProofAsMissing*(
]
.}

proc markProofAsMissing*(
marketplace: Marketplace, id: SlotId, period: UInt256
): Confirmable {.contract.}

proc reserveSlot*(
marketplace: Marketplace, requestId: RequestId, slotIndex: UInt256
): Confirmable {.contract.}

Check warning on line 178 in codex/contracts/marketplace.nim

View check run for this annotation

Codecov / codecov/patch

codex/contracts/marketplace.nim#L157-L178

Added lines #L157 - L178 were not covered by tests
Expand Down
2 changes: 1 addition & 1 deletion vendor/codex-contracts-eth

0 comments on commit f38e4f2

Please sign in to comment.