Coder Social home page Coder Social logo

Comments (7)

jost-s avatar jost-s commented on May 27, 2024 2

I have worked on something similar, yes, but this is new to me. Nothing jumps out at me from looking at the query. I'd like to look into this issue. cc @abe-njama

from holochain.

ThetaSinner avatar ThetaSinner commented on May 27, 2024

@jost-s Do you know anything about this one? I think you worked on something similar recently?

from holochain.

ddd-mtl avatar ddd-mtl commented on May 27, 2024

Well it seems to only look for one entry in the sql database, whereas it should look for all unrestricited cap grants.
Maybe this is already fixed in 0.3.x ?

// unrestricted cap grant must exist

from holochain.

jost-s avatar jost-s commented on May 27, 2024

It looks up an unrestricted cap grant for the chain author, so any cap grant should be returned regardless of how many there are.

No, it's the same in 0.3.0.

from holochain.

jost-s avatar jost-s commented on May 27, 2024

Bug confirmed for GrantedFunctions::Listed. Using GrantedFunctions::All works. And multiple unrestricted grants using listed functions in just one zome works as well.
I'll create an integration test in the Holochain repo and fix it.

from holochain.

jost-s avatar jost-s commented on May 27, 2024

In fact it's not a stable bug/feature. I've recreated it as a sweettest and it fails and succeeds randomly. Then I went back to the Tryorama test and ran it again and it passes now too. Something depending on timing could be causing this fluctuation.
Nevermind, I had modified something.

from holochain.

jost-s avatar jost-s commented on May 27, 2024

This is released with Holochain v0.3.0-beta-dev.26 and will be included in v0.2.4 too.

from holochain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.