We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa55a30 + 3b19010 commit c954842Copy full SHA for c954842
rust/src/metadata.rs
@@ -408,6 +408,14 @@ impl AuxiliaryData {
408
pub fn set_plutus_scripts(&mut self, plutus_scripts: &PlutusScripts) {
409
self.plutus_scripts = Some(plutus_scripts.clone())
410
}
411
+
412
+ pub fn prefer_alonzo_format(&self) -> bool {
413
+ self.prefer_alonzo_format.clone()
414
+ }
415
416
+ pub fn set_prefer_alonzo_format(&mut self, prefer: bool) {
417
+ self.prefer_alonzo_format = prefer
418
419
420
421
// encodes arbitrary bytes into chunks of 64 bytes (the limit for bytes) as a list to be valid Metadata
0 commit comments