unpackdev / solgo

Solidity parser in Go, designed to transform Solidity code into a structured format for enhanced analysis, particularly beneficial for developers using Go to analyze Solidity smart contracts.
https://unpack.dev
Apache License 2.0
3 stars 0 forks source link

Breaking change: Passing solc compiler instead of configuration to NewVerifier #127

Closed 0x19 closed 1 year ago

0x19 commented 1 year ago

Basically what happens is that IsSynced() will be false if we create new solc instance every time we establish compiler resulting in sync attempts way too often. To resolve it, I've ensured that NewVerifier() requires already initiated solc compiler to be passed instead of configuration only.