fix(primitives): patch remaining Conway issues (#505)

* Expose private struct fields for ExUnitPrices.
* Fix UpdateDRepCert variant argument.
This commit is contained in:
Matthias Benkort 2024-08-25 16:48:54 +02:00 committed by GitHub
parent 7aa510389b
commit 2d89f3da54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -127,10 +127,10 @@ pub struct CostMdls {
#[derive(Encode, Decode, Debug, PartialEq, Eq, Clone)]
pub struct ExUnitPrices {
#[n(0)]
mem_price: PositiveInterval,
pub mem_price: PositiveInterval,
#[n(1)]
step_price: PositiveInterval,
pub step_price: PositiveInterval,
}
#[derive(Encode, Decode, Debug, PartialEq, Eq, Clone)]