File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
server/api/contract/write Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ const writeRequestBodySchema = Type.Object({
2424 } ) ,
2525 Type . Tuple ( [ Type . String ( ) , Type . String ( ) ] ) ,
2626 Type . Object ( { } ) ,
27+ Type . Array ( Type . Any ( ) ) ,
28+ Type . Any ( ) ,
2729 ] ) ,
2830 ) ,
2931 ...txOverridesForWriteRequest . properties ,
@@ -32,7 +34,7 @@ const writeRequestBodySchema = Type.Object({
3234// Adding example for Swagger File
3335writeRequestBodySchema . examples = [
3436 {
35- function_name : "transferFrom" ,
37+ functionName : "transferFrom" ,
3638 args : [
3739 "0x1946267d81Fb8aDeeEa28e6B98bcD446c8248473" ,
3840 "0x3EcDBF3B911d0e9052b64850693888b008e18373" ,
Original file line number Diff line number Diff line change @@ -225,7 +225,9 @@ export const processTx = async () => {
225225 if ( rpcRes . result ) {
226226 const txHash = rpcRes . result ;
227227 const txRes = await provider . getTransaction ( txHash ) ;
228-
228+ logger . worker . info (
229+ `[Transaction] [${ tx . queueId } ] Sent tx ${ txHash } , with Nonce ${ txRes . nonce } ` ,
230+ ) ;
229231 return {
230232 status : TransactionStatusEnum . Submitted ,
231233 queueId : tx . queueId ! ,
You can’t perform that action at this time.
0 commit comments