Skip to content

Don't use hardcoded path to the evmc lib#3613

Open
qezz wants to merge 1 commit into
sei-protocol:mainfrom
ChorusOne:main
Open

Don't use hardcoded path to the evmc lib#3613
qezz wants to merge 1 commit into
sei-protocol:mainfrom
ChorusOne:main

Conversation

@qezz

@qezz qezz commented Jun 20, 2026

Copy link
Copy Markdown

Describe your changes and provide context

The runtime.Caller(0) returns paths to the source code, not picking them up during runtime.

Testing performed to validate your change

The nodes are starting with giga executor enabled, instead of crashing trying to pick up the wrong hardcoded path to the .so file.

panic: failed to load evmone: evmc.Load("/go/src/github.com/sei-protocol/sei/giga/executor/lib/libevmone.0.12.0_linux_amd64.so"): EVMC loading error: /go/src/github.com/sei-protocol/sei/giga/executor/lib/libevmone.0.12.0_linux_amd64.so: cannot open shared object file: No such file or directory

The runtime.Caller(0) returns paths to the source code, not picking
them up during runtime.
@cursor

cursor Bot commented Jun 20, 2026

Copy link
Copy Markdown

PR Summary

Cursor Bugbot is generating a summary for commit 8c79b11. Configure here.

@m3diumrare

Copy link
Copy Markdown

This looks like it likely resolves #3578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants