-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: added technical docs to EvmTransaction datatype #614
Conversation
🦋 Changeset detectedLatest commit: 8cc2d21 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…into docs/evmTransaction
…into docs/evmTransaction
/** | ||
* Internal reference of the transaction. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not comment private fields.
* const transactionInput = { | ||
cumulativeGasUsed: "1340925", | ||
gasPrice: "20000000000", | ||
gasUsed: "1340925", | ||
index: "25", | ||
contractAddress: "0x1d6a4cf64b52f6c73f201839aded7379ce58059c", | ||
receiptRoot: "string", | ||
receiptStatus: "1", | ||
chain: "1", | ||
data: transaction.input, | ||
from: "0xd4a3BebD824189481FC45363602b83C9c7e9cbDf", | ||
hash: "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e", | ||
nonce: "326595425", | ||
value: "650000000000000000", | ||
blockHash: transaction.block_hash, | ||
blockNumber: "12526958", | ||
blockTimestamp: new Date("2021-04-02T10:07:54.000Z"), | ||
gas: "6721975", | ||
to: "0xa71db868318f0a0bae9411347cd4a6fa23d8d4ef", | ||
} | ||
* ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you checked how this part looks in the output docs? Here you don't have *
in each line. Maybe it's correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed request changes
packages/evmUtils/src/dataTypes/EvmTransaction/EvmTransaction.ts
Outdated
Show resolved
Hide resolved
…into docs/evmTransaction
name: 'Pull request'
about: A new pull request
New Pull Request
Checklist
Issue Description
Related issue: #
FILL_THIS_OUT
Solution Description