Skip to content

Conversation

johanneskares
Copy link
Contributor

@johanneskares johanneskares commented Nov 13, 2024

fix: #329

Copy link

changeset-bot bot commented Nov 13, 2024

🦋 Changeset detected

Latest commit: 9f08708

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
permissionless Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

try {
const contract = getContract({
address,
abi: [
Copy link

@magbeans magbeans Dec 3, 2024

Choose a reason for hiding this comment

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

I'd rather define abi as a constant variable for reusability.

const EIP712_DOMAIN_ABI = [ { type: "function", name: "eip712Domain", inputs: [], outputs: [ { name: "fields", type: "bytes1", internalType: "bytes1" }, { name: "name", type: "string", internalType: "string" }, { name: "version", type: "string", internalType: "string" }, { name: "chainId", type: "uint256", internalType: "uint256" }, { name: "verifyingContract", type: "address", internalType: "address" }, { name: "salt", type: "bytes32", internalType: "bytes32" }, { name: "extensions", type: "uint256[]", internalType: "uint256[]" }, ], stateMutability: "view", }, ];

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.

Kernel Contracts: Support using already deployed contracts with different version
2 participants