Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
CreedsCode committed Jul 5, 2024
1 parent 0214fbb commit d84abe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40 deletions.
2 changes: 1 addition & 1 deletion packages/hardhat/contracts/MetaTransaction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contract MetaTransaction {
nonces[userAddress] += 1;

(bool success, bytes memory returnData) = address(this).call(
abi.encodePacked(functionSignature, userAddress)
functionSignature
);
require(success, "Function call not successful");

Expand Down
40 changes: 1 addition & 39 deletions packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
const deployedContracts = {
31337: {
DataContract: {
address: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
address: "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
abi: [
{
inputs: [
Expand Down Expand Up @@ -51,44 +51,6 @@ const deployedContracts = {
name: "DataStored",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "string",
name: "message",
type: "string",
},
{
indexed: false,
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "Log",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "string",
name: "message",
type: "string",
},
{
indexed: false,
internalType: "address",
name: "userAddress",
type: "address",
},
],
name: "Log",
type: "event",
},
{
anonymous: false,
inputs: [
Expand Down

0 comments on commit d84abe7

Please sign in to comment.