Comments (1)
@rooooooooob, thank you for pointing out the error. I have now fixed the cddl to be:
costmdls =
{ ? 0 : [ * int64 ] ; Plutus v1
, ? 1 : [ * int64 ] ; Plutus v2
, ? 2 : [ * int64 ] ; Plutus v3
, * 3 .. maxWord8 => [ * int64 ] ; Any 8-bit unsigned number can be used as a key
}
which is correct and more precise than what we had before.
With regards to your last question, I don't understand everything you are asking (particularly towards the end), but I can start by saying that the Conway deserialization of costmodels does not check the number of values in the list, because the Plutus function that we are passing this list to (namely mkEvaluationContext
) no longer expects the exact number of values for each language.
So there is no checking, ignoring or otherwise modification of the list based on these numbers.
If this does not answer everything you wanted to know, could you please explain more about what is unclear?
Thanks!
from cardano-ledger.
Related Issues (20)
- `translateUpperBoundForPlutusScripts` clarification HOT 1
- Mention if duplicates are allowed in maps in the CDDL files HOT 1
- DRep pulser property test needs fixing HOT 1
- Fix "Full NewEpochState" test due to `Cannot find futurePParams in env` HOT 1
- Create a SPO stake distribution query for voting
- DRep "expiry" is incremented even for inactive DReps HOT 2
- Update to dormant epoch looks two epochs ago HOT 1
- Inconsistent listing of DRep expiry depending if creds are present or missing
- Investigate conformance failure in `RATIFY` HOT 1
- `TICK` rule fails with `error` call in `Conway`
- Ignore `ppCommitteeMinSize` during bootstrap phase
- Avoid types with infinite precision in the protocol parameters HOT 1
- Improve constrained generators of votes
- Add conformance testing for `NEWEPOCH`
- Add conformance testing for `LEDGERS`
- Conformance test EPOCH
- Add plutus tests
- Fix minor bugs in `CHAIN` of Shelley formal spec
- Epoch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cardano-ledger.