Skip to content

Commit 31c2c3b

Browse files
authored
Merge pull request #13 from chronicleprotocol/sc-8837-generator-fixup
Sc 8837 generator fixup
2 parents ab879f4 + 4b747ef commit 31c2c3b

File tree

4 files changed

+4
-150
lines changed

4 files changed

+4
-150
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
node_modules
22

3+
packages/foundry/broadcast/
4+
35
# dependencies, yarn, etc
46
# yarn / eslint
57
.yarn/*

Diff for: packages/foundry/broadcast/Deploy.s.sol/11155111/run-1720029434.json

-85
This file was deleted.

Diff for: packages/foundry/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"account": "node script/ListAccount.js",
66
"chain": "anvil --config-out localhost.json",
77
"compile": "forge compile",
8-
"deploy": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy && node script/generateTsAbis.js --chain-id 31337",
8+
"deploy": "forge build --build-info --build-info-path out/build-info/ && rm -rf 'broadcast/*' && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy && node script/generateTsAbis.js --chain-id 31337",
99
"deploy:verify": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy --verify ; node script/generateTsAbis.js",
1010
"flatten": "forge flatten",
1111
"fork": "anvil --fork-url ${ETH_RPC_URL} --chain-id 31337 --config-out localhost.json",

Diff for: packages/nextjs/contracts/deployedContracts.ts

+1-64
Original file line numberDiff line numberDiff line change
@@ -7,70 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
77
const deployedContracts = {
88
31337: {
99
OracleReader: {
10-
address: "0x5fbdb2315678afecb367f032d93f642f64180aa3",
11-
abi: [
12-
{
13-
type: "constructor",
14-
inputs: [
15-
{
16-
name: "chronicle_",
17-
type: "address",
18-
internalType: "address",
19-
},
20-
{
21-
name: "selfKisser_",
22-
type: "address",
23-
internalType: "address",
24-
},
25-
],
26-
stateMutability: "nonpayable",
27-
},
28-
{
29-
type: "function",
30-
name: "chronicle",
31-
inputs: [],
32-
outputs: [
33-
{
34-
name: "",
35-
type: "address",
36-
internalType: "contract IChronicle",
37-
},
38-
],
39-
stateMutability: "view",
40-
},
41-
{
42-
type: "function",
43-
name: "read",
44-
inputs: [],
45-
outputs: [
46-
{
47-
name: "val",
48-
type: "uint256",
49-
internalType: "uint256",
50-
},
51-
],
52-
stateMutability: "view",
53-
},
54-
{
55-
type: "function",
56-
name: "selfKisser",
57-
inputs: [],
58-
outputs: [
59-
{
60-
name: "",
61-
type: "address",
62-
internalType: "contract ISelfKisser",
63-
},
64-
],
65-
stateMutability: "view",
66-
},
67-
],
68-
inheritedFunctions: {},
69-
},
70-
},
71-
11155111: {
72-
OracleReader: {
73-
address: "0xa2b4473120b9d18abfe90eeb2722a57cb72c4212",
10+
address: "0x662ca006be8dbe05545ac9af490460c217fda562",
7411
abi: [
7512
{
7613
type: "constructor",

0 commit comments

Comments
 (0)