piux2

Results 17 comments of piux2

> Blocking until we clarify the strategy. @tbruyelle @moul Thank you for the discussion and collaboration. It is becoming clearer where we are headed. This is one of the most...

@thehowl Great discussion and summary. Thanks you so much! Consistent behavior and an easy-to-understand mental model are what we are aiming to provide from the perspective of contract development. This...

@tbruyelle @thehowl Here is the table. As we can see, there are 18 cases. Our goal is to establish a few rules, ideally fewer than three, to cover all 18...

> Note2: `myrlm.B()` never fails because it never invokes `std.AssertOriginCall` (because of `if false`, I need a confirmation that this is the expected code)/ @tbruyelle, thank you for updating the...

AssertOriginCall is used to ensure there is no middleman. GetOriginCaller validates who signed the transaction, while PrevRealm is used for whitelisting contracts. These functions can be used separately or combined...

@jefft0 Thanks you for the feedback. Good suggestion! What do you think about creating standard rules and policies to abstract away these low-level checks?

> `For gno precompile, I suggest storing generated files in a caching folder like ~/.gno/precompile-cache/gno.land/p/avl~PKGVERSION-RUNTIMEVERSION/files.gen.go, instead of the local directory.` @moul agree. Can we keep this issue open for now?...