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

Telos Updated #659

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Telos Updated #659

wants to merge 2 commits into from

Conversation

NIXBNT
Copy link
Collaborator

@NIXBNT NIXBNT commented May 20, 2024

add_telos branch rebased onto the sei-release-candidate
A few things changed that need checking and considering:

  • solidly_v2 fork archly_v2 (the solidly handling changed a bit since the initial branch)
  • Added support for legacy transaction type with self.cfg.SUPPORTS_EIP1559 (Telos does not support EIP1559)

Terraformer works with eth_logs.
Test transaction successful using legacy transaction

@NIXBNT NIXBNT requested a review from barakman May 20, 2024 13:31
if self.cfg.SUPPORTS_EIP1559:
gas_cost_wei = tx["gas"] * tx["maxFeePerGas"]
else:
gas_cost_wei = tx["gas"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to multiply by tx["gasPrice"]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated

}
else:
return {
"value": value,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing type (0 or 1, need to find out with Telos which one is supported)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually not.
When passing type as 1: ValueError: {'message': 'Invalid Transaction: Calling from_big_endian with oversized array', 'code': 3}
When passing type as 0: TypeError: Unknown Transaction type: 0
When passing nothing as I have it, the arb executes immediately

@platonfloria platonfloria force-pushed the sei-release-candidate branch from 62cd989 to 9f56e92 Compare May 21, 2024 12:10
@platonfloria platonfloria force-pushed the sei-release-candidate-telos branch from 3ff0ab1 to db253d3 Compare May 21, 2024 12:13
@zavelevsky zavelevsky force-pushed the sei-release-candidate branch from 9f56e92 to 7444e5e Compare May 21, 2024 13:17
@platonfloria platonfloria force-pushed the sei-release-candidate-telos branch from db253d3 to 98f6105 Compare May 21, 2024 15:20
Base automatically changed from sei-release-candidate to develop May 21, 2024 15:47
@NIXBNT NIXBNT force-pushed the sei-release-candidate-telos branch from 4513ef9 to ceeb146 Compare May 22, 2024 00:26
@platonfloria platonfloria force-pushed the sei-release-candidate-telos branch from ceeb146 to 0fdf364 Compare May 23, 2024 12:04
@NIXBNT NIXBNT changed the title intial commit after refactor Telos Updated Jun 3, 2024
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