Skip to content

Commit

Permalink
fix protobuf changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum authored and rileystephens28 committed Oct 12, 2024
1 parent 524c828 commit 3406b2b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions dist/quais.js
Original file line number Diff line number Diff line change
Expand Up @@ -20703,6 +20703,8 @@ class QuaiTransaction extends AbstractTransaction {
let address = '';
delete protoTx.etx_sender;
delete protoTx.etx_index;
delete protoTx.work_nonce;
delete protoTx.etx_type;
const protoTxCopy = structuredClone(protoTx);
if (protoTx.v && protoTx.r && protoTx.s) {
// check if protoTx.r is zero
Expand Down
2 changes: 1 addition & 1 deletion dist/quais.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/quais.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/quais.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20745,6 +20745,8 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
let address = '';
delete protoTx.etx_sender;
delete protoTx.etx_index;
delete protoTx.work_nonce;
delete protoTx.etx_type;
const protoTxCopy = structuredClone(protoTx);
if (protoTx.v && protoTx.r && protoTx.s) {
// check if protoTx.r is zero
Expand Down
2 changes: 1 addition & 1 deletion dist/quais.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/quais.umd.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/transaction/abstract-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ export interface ProtoTransaction {
*/
etx_sender?: Uint8Array | null;

work_nonce?: number | null;

etx_type?: number | null;

/**
* The transaction inputs.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/transaction/quai-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,8 @@ export class QuaiTransaction extends AbstractTransaction<Signature> implements Q
let address: string = '';
delete protoTx.etx_sender;
delete protoTx.etx_index;
delete protoTx.work_nonce;
delete protoTx.etx_type;
const protoTxCopy = structuredClone(protoTx);

if (protoTx.v && protoTx.r && protoTx.s) {
Expand Down

0 comments on commit 3406b2b

Please sign in to comment.