-
Notifications
You must be signed in to change notification settings - Fork 24
feat: add ContractCreateTransaction #198
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
feat: add ContractCreateTransaction #198
Conversation
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.
super cool
62d6399
to
99202bf
Compare
747f3db
to
2179030
Compare
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.
To me looks good, am not sure on the source of the check error at the moment
the error seems to be coming from our own solo-actions package, which is weird. let's rerun and hope that fixes it |
Hi @Dosik13 could you try pushing an empty commit and see if that will re-trigger the runner check, which should pass this time |
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
…StatefulContract for state management) Signed-off-by: dosi <dosi.kolev@limechain.tech>
…lization Signed-off-by: dosi <dosi.kolev@limechain.tech>
…nd add constructor test Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
…eter encoding Signed-off-by: dosi <dosi.kolev@limechain.tech>
…support Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
…tionParameters Signed-off-by: dosi <dosi.kolev@limechain.tech>
…FunctionParameters Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
…o __init__.py Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
Signed-off-by: dosi <dosi.kolev@limechain.tech>
76236d3
to
ee4b724
Compare
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.
Thank you
Description:
Implemented the ContractCreateTransaction class that allows creating smart contracts on the network.
ContractId
class for contract identifier representationContractId
classContractFunctionParameters
class for contract function parameter handling using https://github.com/ethereum/eth-abi/tree/mainpyproject.toml
ContractCreateTransaction
class implementationContractCreateTransaction
classContractCreateTransaction
contract_id
property inTransactionReceipt
classRelated issue(s):
Fixes #197
Notes for reviewer:
The purpose of the
ContractFunctionParameters
class is to encode parameters for smart contract function calls using the Ethereum ABI format. It useseth-abi
library to handle the low-level encoding details while providing a clean, fluent API.The class employs dynamic method generation to create methods for all integer types (int8-int256, uint8-uint256) at runtime, avoiding repetitive code. This approach is complemented by a comprehensive type stub file (.pyi) that provides IDE support and static type checking.
Also, I added eth-abi dependency in
pyproject.toml
so every dependency is installed properly.Checklist