Fantom-foundation / go-opera

Opera blockchain protocol secured by the Lachesis consensus algorithm
https://fantom.foundation/
GNU Lesser General Public License v3.0
262 stars 268 forks source link

Replace Duktape dependency #540

Open Goplush opened 3 months ago

Goplush commented 3 months ago

I'd like to raise an issue regarding the dependencies in your go-ethereum repo, which is essential to this go-opera repo. The Duktape library is archived and problematic. Due to issues with its cgo code, it can not cross compile to ARM platforms.

I'd like to suggest considering replacing Duktape with a pure Go alternative like goja. Goja doesn't have the same cgo-related problems and is actively maintained, making it a more reliable choice for cross-platform compatibility. In addition, it is used by etherum official to replace duktape.