Skip to content
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

Merged
merged 5 commits into from
Aug 25, 2022

Conversation

sogunshola
Copy link
Contributor


name: 'Pull request'
about: A new pull request

New Pull Request

Checklist

  • I am not disclosing a vulnerability.
  • My code is conform the code style
  • I have made corresponding changes to the documentation
  • I have updated Typescript definitions when needed

Issue Description

Related issue: #FILL_THIS_OUT

Solution Description

@changeset-bot
Copy link

changeset-bot bot commented Aug 25, 2022

🦋 Changeset detected

Latest commit: 8cc2d21

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@moralisweb3/evm-utils Minor
moralis Minor
@moralisweb3/core Minor
@moralisweb3/auth Minor
@moralisweb3/api-utils Minor
@moralisweb3/sol-utils Minor
@moralisweb3/evm-api Minor
@moralisweb3/sol-api Minor

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

@sogunshola sogunshola requested review from ErnoW and b4rtaz August 25, 2022 10:11
Comment on lines 38 to 40
/**
* Internal reference of the transaction.
*/
Copy link
Collaborator

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.

Comment on lines 11 to 31
* 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",
}
* ```
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2022-08-25 at 14 18 57
Yes. it looks like this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed request changes

@sogunshola sogunshola requested a review from b4rtaz August 25, 2022 13:30
@sogunshola sogunshola merged commit d42222e into main Aug 25, 2022
@sogunshola sogunshola deleted the docs/evmTransaction branch August 25, 2022 14:04
This was referenced Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants