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

EthSmartContractIO: Create DataBuilder #142

Merged
merged 6 commits into from
Feb 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
- remove GetMethodHash method
ArdenHide committed Feb 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2d02a14633c2af1ef986236f8d39c14a618ae68c
3 changes: 0 additions & 3 deletions src/EthSmartContractIO/ContractIO/ContractIO.cs
Original file line number Diff line number Diff line change
@@ -34,9 +34,6 @@ public ContractIO(IServiceProvider? serviceProvider)
public virtual string ExecuteAction(RpcRequest request) =>
GetContractIO(request).RunContractAction();

public static string GetMethodHash(string methodSignature) =>
Sha3Keccack.Current.CalculateHash(methodSignature)[..8];

/// <summary>
/// Gets the appropriate <see cref="IContractIO"/> instance for the given request.
/// </summary>
Loading