You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i try to run command # run codegen npm run subgraph:codegen
And then give me error.
Failed to load subgraph from subgraph.yaml: Error in subgraph.yaml:
Path: dataSources > 0 > eventHandlers > 2
Event with signature 'WethSet(indexed address)' not present in ABI 'AaveOracle'.
Available events:
if i delete lines (41-42) in the file subgraph.yaml event: WethSet(indexed address)
handler: handleWethSet
Then the command works without errors
However, if further I try to enter - npm run deploy:self-hosted:kovan || npm run deploy:self-hosted:mainnet
or npm run deploy:hosted:kovan || npm run deploy:hosted:mainnet
But when you call this command, a new file is generated this bug strings
Any idea how can i fix that ?
...
OS Fedora 35
The text was updated successfully, but these errors were encountered:
For anybody that hits this issue, you could reset history in the v2 submodule:
cd externals/protocol-v2
git reset --hard d460ab4e # the commit before the WethSet changecd ../../
yarn submodule:compile-contracts
yarn prepare:subgraph
I could deploy the subgraph with this little change. Waiting now for graph sync, hope everything works 🙏
Hi, i try to run command
# run codegen npm run subgraph:codegen
And then give me error.
Failed to load subgraph from subgraph.yaml: Error in subgraph.yaml:
Path: dataSources > 0 > eventHandlers > 2
Event with signature 'WethSet(indexed address)' not present in ABI 'AaveOracle'.
Available events:
if i delete lines (41-42) in the file subgraph.yaml
event: WethSet(indexed address)
handler: handleWethSet
Then the command works without errors
However, if further I try to enter -
npm run deploy:self-hosted:kovan || npm run deploy:self-hosted:mainnet
or
npm run deploy:hosted:kovan || npm run deploy:hosted:mainnet
But when you call this command, a new file is generated this bug strings
Any idea how can i fix that ?
...
OS Fedora 35
The text was updated successfully, but these errors were encountered: