-
Notifications
You must be signed in to change notification settings - Fork 58
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
base: develop
Are you sure you want to change the base?
Telos Updated #659
Conversation
fastlane_bot/helpers/txhelpers.py
Outdated
if self.cfg.SUPPORTS_EIP1559: | ||
gas_cost_wei = tx["gas"] * tx["maxFeePerGas"] | ||
else: | ||
gas_cost_wei = tx["gas"] |
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.
Need to multiply by tx["gasPrice"]
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.
updated
} | ||
else: | ||
return { | ||
"value": value, |
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.
Missing type
(0 or 1, need to find out with Telos which one is supported)
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.
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
62cd989
to
9f56e92
Compare
3ff0ab1
to
db253d3
Compare
9f56e92
to
7444e5e
Compare
db253d3
to
98f6105
Compare
4513ef9
to
ceeb146
Compare
ceeb146
to
0fdf364
Compare
add_telos
branch rebased onto thesei-release-candidate
A few things changed that need checking and considering:
Terraformer works with eth_logs.
Test transaction successful using legacy transaction