Skip to content

Merge pull request #130 from mlabs-haskell/aciceri/cost-models-map #589

Merge pull request #130 from mlabs-haskell/aciceri/cost-models-map

Merge pull request #130 from mlabs-haskell/aciceri/cost-models-map #589

Triggered via push November 3, 2023 07:39
Status Failure
Total duration 1m 2s
Artifacts

CI.yaml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build (18.x): src/utils/cost-models-map.ts#L1
Replace `"./string-utils.js"` with `'./string-utils.js'`
build (18.x): src/utils/cost-models-map.ts#L2
Replace `"@blockfrost/blockfrost-utils"` with `'@blockfrost/blockfrost-utils'`
build (18.x): src/utils/cost-models-map.ts#L8
Replace `"addInteger-cpu-arguments-intercept",·"addInteger-cpu-arguments-slope",·"addInteger-memory-arguments-intercept",·"addInteger-memory-arguments-slope",·"appendByteString-cpu-arguments-intercept",·"appendByteString-cpu-arguments-slope",·"appendByteString-memory-arguments-intercept",·"appendByteString-memory-arguments-slope",·"appendString-cpu-arguments-intercept",·"appendString-cpu-arguments-slope",·"appendString-memory-arguments-intercept",·"appendString-memory-arguments-slope",·"bData-cpu-arguments",·"bData-memory-arguments",·"blake2b_256-cpu-arguments-intercept",·"blake2b_256-cpu-arguments-slope",·"blake2b_256-memory-arguments",·"cekApplyCost-exBudgetCPU",·"cekApplyCost-exBudgetMemory",·"cekBuiltinCost-exBudgetCPU",·"cekBuiltinCost-exBudgetMemory",·"cekConstCost-exBudgetCPU",·"cekConstCost-exBudgetMemory",·"cekDelayCost-exBudgetCPU",·"cekDelayCost-exBudgetMemory",·"cekForceCost-exBudgetCPU",·"cekForceCost-exBudgetMemory",·"cekLamCost-exBudgetCPU",·"cekLamCost-exBudgetMemory",·"cekStartupCost-exBudgetCPU",·"cekStartupCost-exBudgetMemory",·"cekVarCost-exBudgetCPU",·"cekVarCost-exBudgetMemory",·"chooseData-cpu-arguments",·"chooseData-memory-arguments",·"chooseList-cpu-arguments",·"chooseList-memory-arguments",·"chooseUnit-cpu-arguments",·"chooseUnit-memory-arguments",·"consByteString-cpu-arguments-intercept",·"consByteString-cpu-arguments-slope",·"consByteString-memory-arguments-intercept",·"consByteString-memory-arguments-slope",·"constrData-cpu-arguments",·"constrData-memory-arguments",·"decodeUtf8-cpu-arguments-intercept",·"decodeUtf8-cpu-arguments-slope",·"decodeUtf8-memory-arguments-intercept",·"decodeUtf8-memory-arguments-slope",·"divideInteger-cpu-arguments-constant",·"divideInteger-cpu-arguments-model-arguments-intercept",·"divideInteger-cpu-arguments-model-arguments-slope",·"divideInteger-memory-arguments-intercept",·"divideInteger-memory-arguments-minimum",·"divideInteger-memory-arguments-slope",·"encodeUtf8-cpu-arguments-intercept",·"encodeUtf8-cpu-arguments-slope",·"encodeUtf8-memory-arguments-intercept",·"encodeUtf8-memory-arguments-slope",·"equalsByteString-cpu-arguments-constant",·"equalsByteString-cpu-arguments-intercept",·"equalsByteString-cpu-arguments-slope",·"equalsByteString-memory-arguments",·"equalsData-cpu-arguments-intercept",·"equalsData-cpu-arguments-slope",·"equalsData-memory-arguments",·"equalsInteger-cpu-arguments-intercept",·"equalsInteger-cpu-arguments-slope",·"equalsInteger-memory-arguments",·"equalsString-cpu-arguments-constant",·"equalsString-cpu-arguments-intercept",·"equalsString-cpu-arguments-slope",·"equalsString-memory-arguments",·"fstPair-cpu-arguments",·"fstPair-memory-arguments",·"headList-cpu-arguments",·"headList-memory-arguments",·"iData-cpu-arguments",·"iData-memory-arguments",·"ifThenElse-cpu-arguments",·"ifThenElse-memory-arguments",·"indexByteString-cpu-arguments",·"indexByteString-memory-arguments",·"lengthOfByteString-cpu-arguments",·"lengthOfByteString-memory-arguments",·"lessThanByteString-cpu-arguments-intercept",·"lessThanByteString-cpu-arguments-slope",·"lessThanByteString-memory-arguments",·"lessThanEqualsByteString-cpu-arguments-intercept",·"lessThanEqualsByteString-cpu-arguments-slope",·"lessThanEqualsByteString-memory-arguments",·"lessThanEqualsInteger-cpu-arguments-intercept",·"lessThanEqualsInteger-cpu-arguments-slope",·"lessThanEqualsInteger-memory-arguments",·"lessThanInteger-cpu-arguments-intercept",·"lessThanInteger-cpu-arguments-slope",·"lessThanInteger-memory-arguments",·"listData-cpu-arguments",·"listData-memory-arguments",·"mapData-cpu-arguments",·"mapData-memory-arguments",·"mkCons-cpu-arguments",·"mkCons-memory-arguments",·"mkNilData-cpu-arguments",·"mkNilData-memory-arguments",·"mkNilPairData-cpu-arguments",·"mkNilPairData-memory-arguments",·"mkPairData-cpu-arguments",·"mkPairData-memory-arguments",·"modInteger-cpu-arguments-constant",·"modInteger-cpu-arguments-model-arguments-intercept",·"modInteger-cpu-arguments-model-arguments-slope",·"modInteger-memory-arguments-intercept",·"modInteger-memory-arguments-minimum",·"modInteger-memory-argumen
build (18.x): src/utils/cost-models-map.ts#L11
Replace `"addInteger-cpu-arguments-intercept",·"addInteger-cpu-arguments-slope",·"addInteger-memory-arguments-intercept",·"addInteger-memory-arguments-slope",·"appendByteString-cpu-arguments-intercept",·"appendByteString-cpu-arguments-slope",·"appendByteString-memory-arguments-intercept",·"appendByteString-memory-arguments-slope",·"appendString-cpu-arguments-intercept",·"appendString-cpu-arguments-slope",·"appendString-memory-arguments-intercept",·"appendString-memory-arguments-slope",·"bData-cpu-arguments",·"bData-memory-arguments",·"blake2b_256-cpu-arguments-intercept",·"blake2b_256-cpu-arguments-slope",·"blake2b_256-memory-arguments",·"cekApplyCost-exBudgetCPU",·"cekApplyCost-exBudgetMemory",·"cekBuiltinCost-exBudgetCPU",·"cekBuiltinCost-exBudgetMemory",·"cekConstCost-exBudgetCPU",·"cekConstCost-exBudgetMemory",·"cekDelayCost-exBudgetCPU",·"cekDelayCost-exBudgetMemory",·"cekForceCost-exBudgetCPU",·"cekForceCost-exBudgetMemory",·"cekLamCost-exBudgetCPU",·"cekLamCost-exBudgetMemory",·"cekStartupCost-exBudgetCPU",·"cekStartupCost-exBudgetMemory",·"cekVarCost-exBudgetCPU",·"cekVarCost-exBudgetMemory",·"chooseData-cpu-arguments",·"chooseData-memory-arguments",·"chooseList-cpu-arguments",·"chooseList-memory-arguments",·"chooseUnit-cpu-arguments",·"chooseUnit-memory-arguments",·"consByteString-cpu-arguments-intercept",·"consByteString-cpu-arguments-slope",·"consByteString-memory-arguments-intercept",·"consByteString-memory-arguments-slope",·"constrData-cpu-arguments",·"constrData-memory-arguments",·"decodeUtf8-cpu-arguments-intercept",·"decodeUtf8-cpu-arguments-slope",·"decodeUtf8-memory-arguments-intercept",·"decodeUtf8-memory-arguments-slope",·"divideInteger-cpu-arguments-constant",·"divideInteger-cpu-arguments-model-arguments-intercept",·"divideInteger-cpu-arguments-model-arguments-slope",·"divideInteger-memory-arguments-intercept",·"divideInteger-memory-arguments-minimum",·"divideInteger-memory-arguments-slope",·"encodeUtf8-cpu-arguments-intercept",·"encodeUtf8-cpu-arguments-slope",·"encodeUtf8-memory-arguments-intercept",·"encodeUtf8-memory-arguments-slope",·"equalsByteString-cpu-arguments-constant",·"equalsByteString-cpu-arguments-intercept",·"equalsByteString-cpu-arguments-slope",·"equalsByteString-memory-arguments",·"equalsData-cpu-arguments-intercept",·"equalsData-cpu-arguments-slope",·"equalsData-memory-arguments",·"equalsInteger-cpu-arguments-intercept",·"equalsInteger-cpu-arguments-slope",·"equalsInteger-memory-arguments",·"equalsString-cpu-arguments-constant",·"equalsString-cpu-arguments-intercept",·"equalsString-cpu-arguments-slope",·"equalsString-memory-arguments",·"fstPair-cpu-arguments",·"fstPair-memory-arguments",·"headList-cpu-arguments",·"headList-memory-arguments",·"iData-cpu-arguments",·"iData-memory-arguments",·"ifThenElse-cpu-arguments",·"ifThenElse-memory-arguments",·"indexByteString-cpu-arguments",·"indexByteString-memory-arguments",·"lengthOfByteString-cpu-arguments",·"lengthOfByteString-memory-arguments",·"lessThanByteString-cpu-arguments-intercept",·"lessThanByteString-cpu-arguments-slope",·"lessThanByteString-memory-arguments",·"lessThanEqualsByteString-cpu-arguments-intercept",·"lessThanEqualsByteString-cpu-arguments-slope",·"lessThanEqualsByteString-memory-arguments",·"lessThanEqualsInteger-cpu-arguments-intercept",·"lessThanEqualsInteger-cpu-arguments-slope",·"lessThanEqualsInteger-memory-arguments","lessThanInteger-cpu-arguments-intercept",·"lessThanInteger-cpu-arguments-slope",·"lessThanInteger-memory-arguments",·"listData-cpu-arguments",·"listData-memory-arguments",·"mapData-cpu-arguments",·"mapData-memory-arguments",·"mkCons-cpu-arguments",·"mkCons-memory-arguments",·"mkNilData-cpu-arguments",·"mkNilData-memory-arguments",·"mkNilPairData-cpu-arguments",·"mkNilPairData-memory-arguments",·"mkPairData-cpu-arguments",·"mkPairData-memory-arguments",·"modInteger-cpu-arguments-constant",·"modInteger-cpu-arguments-model-arguments-intercept",·"modInteger-cpu-arguments-model-arguments-slope",·"modInteger-memory-arguments-intercept",·"modInteger-memory-arguments-minimum",·"modInteger-memory-argument
build (18.x): src/utils/cost-models-map.ts#L13
Unexpected any. Specify a different type
build (18.x): src/utils/cost-models-map.ts#L16
Expected '!==' and instead saw '!='
build (18.x): src/utils/cost-models-map.ts#L17
Use `new` when throwing an error
build (18.x): src/utils/cost-models-map.ts#L17
Use `new Error()` instead of `Error()`
build (18.x): src/utils/cost-models-map.ts#L17
Replace `"The·size·of·the·Plutus·V1·cost·model·mismatched"` with `'The·size·of·the·Plutus·V1·cost·model·mismatched'`
build (18.x): src/utils/cost-models-map.ts#L19
Expected '!==' and instead saw '!='
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/