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

refactor: evm ecdsa adjustments #135

Merged
merged 23 commits into from
Nov 13, 2024

Conversation

alfonsobries
Copy link
Member

@alfonsobries alfonsobries commented Nov 7, 2024

Summary

https://app.clickup.com/t/86dv4y6kn

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@alfonsobries alfonsobries changed the base branch from develop to feat/mainsail November 7, 2024 19:44
@ItsANameToo ItsANameToo changed the title [wip] refactor: evm ecsdas adjustments [wip] refactor: evm ecdsa adjustments Nov 8, 2024
@alfonsobries alfonsobries marked this pull request as ready for review November 8, 2024 22:04
@alfonsobries alfonsobries changed the title [wip] refactor: evm ecdsa adjustments refactor: evm ecdsa adjustments Nov 8, 2024
src/Transactions/Deserializer.php Outdated Show resolved Hide resolved
src/Transactions/Serializer.php Outdated Show resolved Hide resolved
'gasPrice' => '5',
'nonce' => '1',
'network' => Network::get()->pubKeyHash(),
'gasLimit' => 1_000_000,
Copy link
Member

Choose a reason for hiding this comment

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

can we set default gas limits for the supported transaction types? e.g.:

  • transfer: 21000
  • validator registration: 500000
  • validator resignation: 150000
  • vote: 200000
  • unvote: 200000
  • default: 1000000

I didn't see them being overwritten in the code in the builders, but maybe I overlooked something

Copy link
Member Author

Choose a reason for hiding this comment

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

@ItsANameToo Deleted all the code related to fees, it's not actually being used anywhere

src/Enums/Fees.php Outdated Show resolved Hide resolved
@alfonsobries
Copy link
Member Author

@ItsANameToo ready

@alfonsobries
Copy link
Member Author

im also removing the Fee section on the docs here https://github.com/ArdentHQ/docs-poc-protocol/pull/74

@ItsANameToo ItsANameToo merged commit ce83349 into feat/mainsail Nov 13, 2024
2 checks passed
@ItsANameToo ItsANameToo deleted the refactor/evm-ecsdas-adjustments branch November 13, 2024 16:40
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