alkanesjs 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55528,6 +55528,7 @@ var AlkanesRpcProvider = class {
55528
55528
  ]);
55529
55529
  }
55530
55530
  async alkanes_simulate(req) {
55531
+ await this.provider.pacer.waitForPacer();
55531
55532
  const currentHeight = consumeOrThrow(
55532
55533
  await this.alkanes_metashrewHeight().call()
55533
55534
  );
@@ -55535,7 +55536,7 @@ var AlkanesRpcProvider = class {
55535
55536
  alkanes: req.alkanes ?? [],
55536
55537
  transaction: req.transaction ?? "0x",
55537
55538
  block: "0x",
55538
- height: "908474",
55539
+ height: currentHeight,
55539
55540
  txindex: req.txindex ?? 0,
55540
55541
  target: {
55541
55542
  block: req.target?.block?.toString() ?? "0",
@@ -55546,7 +55547,7 @@ var AlkanesRpcProvider = class {
55546
55547
  refundPointer: req.refundPointer ?? 0,
55547
55548
  vout: req.vout ?? 0
55548
55549
  };
55549
- console.log(merged);
55550
+ await this.provider.pacer.waitForPacer();
55550
55551
  const res = await this.rpc(
55551
55552
  "alkanes_simulate",
55552
55553
  [merged]