Skip to content

Commit 42af2e9

Browse files
author
Jenita
committed
feat: changes to support cost models while updating Alonzon protocols
Signed-off-by: Jenita <[email protected]>
1 parent 3d70e4d commit 42af2e9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ledger/alonzo/pparams.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -241,20 +241,6 @@ func plutusVersionToKey(version string) (uint, bool) {
241241
}
242242
}
243243

244-
// Helper to convert key back to string
245-
func plutusKeyToVersion(key uint) string {
246-
switch key {
247-
case PlutusV1Key:
248-
return "PlutusV1"
249-
case PlutusV2Key:
250-
return "PlutusV2"
251-
case PlutusV3Key:
252-
return "PlutusV3"
253-
default:
254-
return ""
255-
}
256-
}
257-
258244
type AlonzoProtocolParameterUpdate struct {
259245
cbor.DecodeStoreCbor
260246
MinFeeA *uint `cbor:"0,keyasint"`

0 commit comments

Comments
 (0)