Skip to content

Commit

Permalink
Merge pull request #254 from spacebudz/min_fee
Browse files Browse the repository at this point in the history
Minimal upgrade to support Conway era
  • Loading branch information
alessandrokonrad authored Aug 9, 2024
2 parents 457c156 + daad2b9 commit a0e182f
Show file tree
Hide file tree
Showing 23 changed files with 567 additions and 309 deletions.
2 changes: 1 addition & 1 deletion blueprint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import packageJson from "./package.json" assert { type: "json" };
import packageJson from "./package.json" with { type: "json" };
import { parse } from "https://deno.land/[email protected]/flags/mod.ts";

const flags = parse(Deno.args, {
Expand Down
4 changes: 2 additions & 2 deletions build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as dnt from "https://deno.land/x/dnt@0.30.0/mod.ts";
import * as dnt from "https://deno.land/x/dnt@0.40.0/mod.ts";
import * as esbuild from "https://deno.land/x/[email protected]/mod.js";
import packageInfo from "./package.json" assert { type: "json" };
import packageInfo from "./package.json" with { type: "json" };

await dnt.emptyDir("./dist");

Expand Down
6 changes: 2 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"test:core": "cd src/core/libs/cardano_multiplatform_lib && cargo test; cd ../cardano_message_signing && cargo test"
},
"lint": {
"files": {
"include": ["src/"],
"exclude": ["src/core/"]
}
"include": ["src/"],
"exclude": ["src/core/"]
}
}
2 changes: 1 addition & 1 deletion src/core/core.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as C from "./libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js";
import * as M from "./libs/cardano_message_signing/cardano_message_signing.generated.js";
import packageJson from "../../package.json" assert { type: "json" };
import packageJson from "../../package.json" with { type: "json" };

async function unsafeInstantiate(module: any, url: string) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ export class COSEEncrypt {
ciphertext() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1745,7 +1745,7 @@ export class COSESign {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1856,7 +1856,7 @@ export class COSESign1 {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -2154,7 +2154,7 @@ export class COSESignature {
signature() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.cosesignature_signature(retptr, this.ptr);
wasm.cosesign1_signature(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var v0 = getArrayU8FromWasm0(r0, r1).slice();
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ class COSEEncrypt {
ciphertext() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1768,7 +1768,7 @@ class COSESign {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -1880,7 +1880,7 @@ class COSESign1 {
payload() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.coseencrypt0_ciphertext(retptr, this.ptr);
wasm.coseencrypt_ciphertext(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
let v0;
Expand Down Expand Up @@ -2181,7 +2181,7 @@ class COSESignature {
signature() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.cosesignature_signature(retptr, this.ptr);
wasm.cosesign1_signature(retptr, this.ptr);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var v0 = getArrayU8FromWasm0(r0, r1).slice();
Expand Down
Loading

0 comments on commit a0e182f

Please sign in to comment.