Skip to content

[Test]: recursive precompile call #268

@cloudgray

Description

@cloudgray

@yihuang

it don't support recursive calls like precompile -> evm -> precompile, right? or does it?

Currently, there are no precompiles that call evm.Call from within another precompile, so we haven’t tested that scenario.

Do you have any specific concerns? Or is there a scenario where a precompile → evm → precompile call chain could occur that I’m not aware of?

cc. @vladjdk @zsystm

Yeah, the current precompiles under the ./precompiles directory looks fine. it's just care need to be taken to avoid recursion like that when people wrap more messages into precompiles.

Originally posted by @yihuang in #201 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions