razor-network / oracle-contracts

Core contracts for Razor network
http://razor.network
36 stars 21 forks source link

fix: removed redeclaration of struct in bond manager #929

Closed rajkharvar closed 1 year ago

rajkharvar commented 2 years ago

fixes #928

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 97.483% when pulling 0bbb21a22a1600db69991bd7d98c59c09a185d1f on rajkharvar:fix-struct into 09c03e317a23e9c4e8cbd2d2a320e8f1172877d4 on razor-network:master.

shekhar2807 commented 2 years ago

The issue is with the abigen. It has been mentioned in the following issue https://github.com/ethereum/go-ethereum/issues/24627

Both the files ICollectionManager and BondStorage are being used in BondManager which imports library structs.sol which causes the name conflict during abigen.

hrishikeshio commented 1 year ago

Stale PR