File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
services/ymax-planner/src Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import * as ws from 'ws';
99
1010import { Fail , q } from '@endo/errors' ;
1111import { isPrimitive } from '@endo/pass-style' ;
12+ import type { StdFee } from '@cosmjs/stargate' ;
1213
1314import {
1415 fetchEnvNetworkConfig ,
@@ -53,6 +54,11 @@ const assertChainId = async (
5354 Fail `Expected chain ID ${ q ( actualChainId ) } to be ${ q ( chainId ) } ` ;
5455} ;
5556
57+ const plannerFee : StdFee = {
58+ amount : [ { denom : 'ubld' , amount : '15000' } ] , // 0.015 BLD
59+ gas : '19700000' ,
60+ } ;
61+
5662/**
5763 * Mock the abort reason of `AbortSignal.timeout(ms)`.
5864 * https://dom.spec.whatwg.org/#dom-abortsignal-timeout
@@ -207,7 +213,7 @@ export const main = async (
207213 sendBridgeAction,
208214 executeOffer : async offer => {
209215 const offerP = pollOffer ( address , offer . id ) ;
210- await sendBridgeAction ( { method : 'executeOffer' , offer } ) ;
216+ await sendBridgeAction ( { method : 'executeOffer' , offer } , plannerFee ) ;
211217 return offerP ;
212218 } ,
213219 } ;
You can’t perform that action at this time.
0 commit comments