Consensys / orchestrate

Orchestrate is a blockchain Transaction Orchestration system that can operate multiple chains simultaneously

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return basic data from external transactions

ggarri opened this issue · comments

Current behavior: When you register a chain with external tx enabled, then you are able to consume external tx receipts in the topic tx decoded. Nevertheless we dont return data like "from", "to", "nonce"....

Here is the message retrieved from the tx listener:

{
  id: '',
  txContext: {
    from: undefined,
    nonce: undefined,
    to: undefined,
    value: undefined,
    gas: undefined,
    gasPrice: undefined,
    input: undefined,
    raw: undefined,
    txHash: '0x3b7521f7e15566baa4a76b2886a3edb6386cd3bd227292d65f88ef944187d8b0'
  },
  receipt: {
    blockHash: '0x8acbd95eff9fd22ac30c983736ed9d3202e56640edf28d7e5814c9c526871f35',
    blockNumber: 131,
    txIndex: 0,
    txHash: '0x3b7521f7e15566baa4a76b2886a3edb6386cd3bd227292d65f88ef944187d8b0',
    status: true,
    contractAddress: undefined,
    gasUsed: 21000,
    cumulativeGasUsed: 21000,
    postState: undefined,
    bloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
    logs: undefined,
    revertReason: undefined,
    output: undefined,
    privateFrom: undefined,
    privateFor: [],
    privacyGroupId: undefined
  },
  jobUUID: '',
  errors: undefined,
  chain: 'besu',
  contextLabels: {}
}

We would like to have all the data in txContext