BlocSoc-iitr / selene

A fast & portable light client for Ethereum in Golang.
5 stars 6 forks source link

bug: function `CreateAccessList()` is not working #89

Open 18aaddy opened 1 day ago

18aaddy commented 1 day ago

In execution/http_rpc.go, the function CreateAccessList() is throwing an error. It is not able to unmarshal data from the rpc to types.AccessList struct.

18aaddy commented 1 day ago

@ABD-AZE can you try and fix this? You can use the tests from PR #88

ABD-AZE commented 1 day ago

The type accesslist needs to be changed, @x-senpai-x has defined the new type in evm.go. Once he changes the type I'll look into this.

gerceboss commented 1 day ago

@ABD-AZE please be quick as there are 2 PRs that require this code to be merged first

ABD-AZE commented 1 day ago

I'll do it by EOTD

18aaddy commented 1 day ago

@gerceboss I think my PR #88 for http_rpc test might need to be merged first and this should be afterwards. I have modified the http_rpc file so that every other test passes and then the CreateAccessList function can be modified so that TestCreateAccessList passes