Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: p/demo/accesscontrol & p/demo/timelock #2307

Open
wants to merge 88 commits into
base: master
Choose a base branch
from

Commits on Jun 3, 2024

  1. accesscontrol v1

    kazai777 committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    9ca3745 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    0748c45 View commit details
    Browse the repository at this point in the history
  2. testt

    kazai777 committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    1569339 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. minor modification

    kazai777 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    1a04741 View commit details
    Browse the repository at this point in the history
  2. add other check for roleData and require for gno.mod

    théo dub authored and théo dub committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    b439489 View commit details
    Browse the repository at this point in the history
  3. downgrade version

    théo dub authored and théo dub committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    e7e2a39 View commit details
    Browse the repository at this point in the history
  4. timelock v1 with testfile

    kazai777 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    d723750 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c2e768 View commit details
    Browse the repository at this point in the history
  6. refactor std.Emit

    théo dub authored and théo dub committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    ac70b14 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    0f4968d View commit details
    Browse the repository at this point in the history
  2. unit test

    mous1985 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    5a30a47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc86b90 View commit details
    Browse the repository at this point in the history
  4. rebase

    mous1985 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    2f7dbcc View commit details
    Browse the repository at this point in the history
  5. modify testfile

    kazai777 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    5999935 View commit details
    Browse the repository at this point in the history
  6. last version timelock

    kazai777 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    0528c63 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    374b4f3 View commit details
    Browse the repository at this point in the history
  8. fix test and add new test

    kazai777 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b1bf45d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4414bc9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6746863 View commit details
    Browse the repository at this point in the history
  11. make tidy

    kazai777 committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    eebd5c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Apply suggestions from code review

    Co-authored-by: deelawn <[email protected]>
    mous1985 and deelawn authored Jun 8, 2024
    Configuration menu
    Copy the full SHA
    d1930b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5dca52f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e2a159 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4ae651 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7df946a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91a21ea View commit details
    Browse the repository at this point in the history
  7. remove GetRoleAdmin methods

    kazai777 committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    84a6e30 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36102fc View commit details
    Browse the repository at this point in the history
  9. Fix and improve access control tests

    - Correct admin role checks and assertions in TestSetRoleAdmin.
    - Fix error handling in TestAssertOrigCallerIsAdmin.
    - Ensure proper panic checks in TestRevokeRoleNonAdmin.
    - Improve role grant, revocation, and renunciation tests.
    mous1985 committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    5b04454 View commit details
    Browse the repository at this point in the history
  10. fix testfile

    mous1985 committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    dadcc5d View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Change prefix of NewTimelockUtil to MustnewTimelockUtil. return Error…

    … if timestamps or accessControl == nil
    mous1985 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    4e1b98e View commit details
    Browse the repository at this point in the history
  2. Change prefix of NewTimelockUtil to MustnewTimelockUtil. return Error…

    … if timestamps or accessControl == nil
    mous1985 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5364f67 View commit details
    Browse the repository at this point in the history
  3. -replace panics with Error.

    change type of mindelay and delay from int64 to uint64
    mous1985 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    9a23760 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f6e861 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    863d1c8 View commit details
    Browse the repository at this point in the history
  6. add minDelay in the struct

    kazai777 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    59432e0 View commit details
    Browse the repository at this point in the history
  7. fix type compatibilty delay

    update test file
    mous1985 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d08fc5c View commit details
    Browse the repository at this point in the history
  8. change method to IsWaiting and IsPending

    théo dub authored and théo dub committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    13d7a1c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. change method to IsPending and just check state == Pending

    théo dub authored and théo dub committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    fca1601 View commit details
    Browse the repository at this point in the history
  2. change IsWaiting to IsPending

    théo dub authored and théo dub committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    bee7811 View commit details
    Browse the repository at this point in the history
  3. change IsWaiting to IsPending

    théo dub authored and théo dub committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    35279e0 View commit details
    Browse the repository at this point in the history
  4. comma line:74

    mous1985 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    8a7d710 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    0035a82 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    8da6e06 View commit details
    Browse the repository at this point in the history
  2. remove must prefix

    kazai777 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    dc30291 View commit details
    Browse the repository at this point in the history
  3. change errof to panic and add return for errors.New

    théo dub authored and théo dub committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2b70215 View commit details
    Browse the repository at this point in the history
  4. change errof to panic and add return for errors.New

    théo dub authored and théo dub committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    3c3bb84 View commit details
    Browse the repository at this point in the history
  5. correct test and gno.mod

    théo dub authored and théo dub committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2ff3f48 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d72594a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    2dee17b View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Renamed AssertOrigCallerIsAdmin to CallerIsAdmin for.

    - Used PrevRealm to get the caller's address instead of OrigCaller.
    - Added CallerIsAdmin method to return an error if the caller is not admin.
    - Created AssertCallerIsAdmin method to panic if the caller is not admin.
    - Updated tests to reflect these changes.
    bash: line 1: :wq: command not found
    bash: line 1: wq: command not found
    mous1985 committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    30866f5 View commit details
    Browse the repository at this point in the history
  2. change the struct of roles

    DIGIX666 committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    5a87e5b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c79bf43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6ee9b5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    312730a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fc9128e View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    923168f View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    6b4175f View commit details
    Browse the repository at this point in the history
  2. fix: fmt

    kazai777 committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1eee065 View commit details
    Browse the repository at this point in the history
  3. Update examples/gno.land/p/demo/accesscontrol/accesscontrol.gno

    Co-authored-by: Manfred Touron <[email protected]>
    DIGIX666 and moul authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    8b1e104 View commit details
    Browse the repository at this point in the history
  4. Update examples/gno.land/p/demo/timelock/timelock.gno

    Co-authored-by: Manfred Touron <[email protected]>
    DIGIX666 and moul authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f57e5a5 View commit details
    Browse the repository at this point in the history
  5. change else if

    DIGIX666 committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d0f317b View commit details
    Browse the repository at this point in the history
  6. add uassert

    DIGIX666 committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    e94a0b4 View commit details
    Browse the repository at this point in the history
  7. gno mod tidy

    DIGIX666 committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0de057d View commit details
    Browse the repository at this point in the history
  8. Update examples/gno.land/p/demo/timelock/timelock.gno

    Co-authored-by: Manfred Touron <[email protected]>
    DIGIX666 and moul authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f5a716f View commit details
    Browse the repository at this point in the history
  9. Update examples/gno.land/p/demo/accesscontrol/accesscontrol.gno

    Co-authored-by: Manfred Touron <[email protected]>
    DIGIX666 and moul authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d233452 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    56ba1f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    ae3a3db View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    973cbdc View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. correction after review

    DIGIX666 committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    af534a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. change name string method

    DIGIX666 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    ca375b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bee06e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f905404 View commit details
    Browse the repository at this point in the history
  4. struct{}{}

    kazai777 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    86af787 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7998a78 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e973d18 View commit details
    Browse the repository at this point in the history
  7. fix gno.mod and timelock

    kazai777 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    877536b View commit details
    Browse the repository at this point in the history
  8. fix CI

    kazai777 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1cca09a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2f78427 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    555c084 View commit details
    Browse the repository at this point in the history
  11. Update timelock_test.gno

    kazai777 authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    26505de View commit details
    Browse the repository at this point in the history
  12. delete defer and use uasser

    DIGIX666 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1593f79 View commit details
    Browse the repository at this point in the history
  13. make tidy

    DIGIX666 committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    cb919ec View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Configuration menu
    Copy the full SHA
    97ba66c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    fd49b32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    000c615 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    3b4c63a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    0ced75a View commit details
    Browse the repository at this point in the history