Skip to content

use abstract method to define static oracle callback#998

Closed
Jim8y wants to merge 3 commits intoneo-project:masterfrom
Jim8y:static-IOracle
Closed

use abstract method to define static oracle callback#998
Jim8y wants to merge 3 commits intoneo-project:masterfrom
Jim8y:static-IOracle

Conversation

@Jim8y
Copy link
Contributor

@Jim8y Jim8y commented Mar 19, 2024

This pr updates the IOracle to define the oracle callback interface as static #993 (comment)

@shargon
Copy link
Member

shargon commented Mar 19, 2024

But why we want to use static interface in oracle, and not in others? we should use the same way

Copy link
Member

Choose a reason for hiding this comment

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

I thought we were using block namespace scoping?

@Jim8y
Copy link
Contributor Author

Jim8y commented Mar 22, 2024

@shargon i am sorry to say this but i think it is a mess at all cause static or non-static all works as interface..... People can use it as static or non-static... how do we make an interace that both works for static and non-static @cschuchardt88

@shargon
Copy link
Member

shargon commented Mar 22, 2024

@shargon i am sorry to say this but i think it is a mess at all cause static or non-static all works as interface..... People can use it as static or non-static... how do we make an interace that both works for static and non-static @cschuchardt88

We should try to focus on instance

@Jim8y
Copy link
Contributor Author

Jim8y commented Mar 25, 2024

Use instance interface instead.

@Jim8y Jim8y closed this Mar 25, 2024
@Jim8y Jim8y deleted the static-IOracle branch March 25, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants