Skip to content

Commit d42873d

Browse files
committed
feat!: update PDP contract address
Ref: FilOzone/pdp#181 (comment)
1 parent 69348ba commit d42873d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pdp/contract/addresses.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ func ContractAddresses() PDPContracts {
1919
switch build.BuildType {
2020
case build.BuildCalibnet:
2121
return PDPContracts{
22-
PDPVerifier: common.HexToAddress("0x5A23b7df87f59A291C26A2A1d684AD03Ce9B68DC"),
22+
PDPVerifier: common.HexToAddress("0x4E1e9AB9bf23E9Fe96041E0a2d2f0B99dE27FBb2"),
2323
}
2424
case build.BuildMainnet:
25-
return PDPContracts{
26-
PDPVerifier: common.HexToAddress("0x9C65E8E57C98cCc040A3d825556832EA1e9f4Df6"),
27-
}
25+
// Compatible contract not yet deployed
26+
panic("compatible PDP contract not available on mainnet")
2827
default:
29-
panic("pdp contracts unknown for this network")
28+
panic("PDP contract unknown for this network")
3029
}
3130
}
3231

0 commit comments

Comments
 (0)