Skip to content

allow_reentrancy attribute#1783

Closed
Artemka374 wants to merge 14 commits intouse-ink:masterfrom
Brushfam:feature/allow_reentrancy-modifier
Closed

allow_reentrancy attribute#1783
Artemka374 wants to merge 14 commits intouse-ink:masterfrom
Brushfam:feature/allow_reentrancy-modifier

Conversation

@Artemka374
Copy link
Contributor

Continuation of work on #1507
which is a part of #1285

where
E: Environment,
{
unimplemented!("off-chain environment does not support `reentrance_count`")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, that we should implement it in this PR, along with the fact, that we need to expand ExecContext in off-chain engine, so it looks for me as a point for another PR, maybe something like this: #1589

@ascjones
Copy link
Collaborator

Merge master into this PR to fix the CI

@deuszx
Copy link

deuszx commented Aug 17, 2023

What needs to be done here to get it merged? I can help with the coding work.

Copy link
Contributor

@SkymanOne SkymanOne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks quite good for the first iteration. However, I am not fun of renaming set_allow_reentry()

@Artemka374 Artemka374 requested review from SkymanOne and deuszx August 23, 2023 09:04
@SkymanOne
Copy link
Contributor

Hey @Artemka374 Any plans on picking this PR up again or should I close it?

@SkymanOne
Copy link
Contributor

Closing due to inactivity

@SkymanOne SkymanOne closed this Dec 21, 2023
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.

4 participants