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

WIP Support hardhat-viem #167

Closed
wants to merge 2 commits into from
Closed

WIP Support hardhat-viem #167

wants to merge 2 commits into from

Conversation

cgewecke
Copy link
Owner

This is a minimized version of the work from #157 ... everything works except the "asOther" method, which isn't getting detected. (I don't understand that yet.)

@@ -57,6 +57,27 @@ export class EGRDataCollectionProvider extends ProviderWrapper {
}
}
return txHash;

// Viem
} else if (args.method === "eth_sendTransaction") {
Copy link
Owner Author

Choose a reason for hiding this comment

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

This results in doubling the number of calls counted for both ethers and truffle plugins...ideally there would be a way to detect Viem and only select this route if it's being used.

@cgewecke
Copy link
Owner Author

Closed in favor of #177

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