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

Bounty v2 #786

Merged
merged 78 commits into from
Nov 17, 2023
Merged

Bounty v2 #786

merged 78 commits into from
Nov 17, 2023

Commits on Dec 12, 2022

  1. first buildable version

    yoongbok lee committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    efce5cf View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. add createprogram

    yoongbok lee committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    7ce1465 View commit details
    Browse the repository at this point in the history
  2. add bounty to app

    yoongbok lee committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    7c05b70 View commit details
    Browse the repository at this point in the history
  3. modify privkey prints

    yoongbok lee committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    0d7c0bc View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. fix file I/O for key storage

    yoongbok lee committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    5c3c8c8 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2022

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

    xiumingdou committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    2921860 View commit details
    Browse the repository at this point in the history
  3. fix lint

    xiumingdou committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    6e8859d View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2022

  1. add simulation interfaces

    xiumingdou committed Dec 27, 2022
    Configuration menu
    Copy the full SHA
    b22342a View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2022

  1. Configuration menu
    Copy the full SHA
    9570f6e View commit details
    Browse the repository at this point in the history
  2. fix comments and imports

    xiumingdou committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    0ef24b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2022

  1. refactor program creation

    xiumingdou committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    518b7d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. compile .proto changes

    xiumingdou committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    f171029 View commit details
    Browse the repository at this point in the history
  2. fix refactor

    xiumingdou committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    415747e View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. Revert "compile .proto changes"

    This reverts commit f171029.
    xiumingdou committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    c820996 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. recompile .proto files

    xiumingdou committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    bdb483a View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Address review comments

    xiumingdou committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    77b5e7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1343d49 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Bounty encryption (#565)

    * add go-ethereum ecies generatekey
    
    * resume buf compilation
    
    * goimports bounty file
    
    * change encryption_key type to any
    
    * add TestSaveLoadKey
    
    * sort import
    
    * sort msg import
    kevin-yuhh committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    eda4225 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. Add bounty module account (#577)

    * Add bounty module account
    
       1. Add test case.
       2. Add bounty account.
       3. set default value.
    
    * Add test case
    
    * Add test case
    skyargos committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    625d386 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Finding submit (#574)

    * add finding init
    
    * add programid:findinglist
    
    * add go-ethereum ecies generatekey
    
    * resume buf compilation
    
    * goimports bounty file
    
    * change encryption_key type to any
    
    * change encrypted_desc type to any
    
    * change severity level type to enum
    
    * add TestSaveLoadKey
    
    * sort import
    
    * severityLevel as enum
    
    * add findings to genesisState
    
    * merged bounty-encryption
    
    * add finding status
    
    * init SetNextFindingID
    
    * fix golint
    
    * pid to program_id, fid to finding_id
    
    * pid to program_id, fid to finding_id
    
    * fix some format error
    
    * add FlagSubmissionEndTime flag
    
    * improve TestFinding and TestProgram
    
    * improve encrypteddesc, encryptedpoc,encryptionkey test
    kevin-yuhh committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    6b4f26f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Bounty query for programs and findings (#578)

    * Bounty query
    
    * Add test case
    
    * Add test case
    
    * Fix test case error
    
    * Fix conflict
    
    * Add test case
    
    * Add finding query
    
    * fix golangci-lint error
    
    * Add test case
    skyargos committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    4b4cbb6 View commit details
    Browse the repository at this point in the history
  2. Bounty cli help information (#582)

    * add a helper.go
    
    * fix golangci-lint error
    skyargos committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    526bca5 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Host accept or reject findings (#580)

    * Add host accept or reject finding
    
    * fix test error
    skyargos committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    7d500bf View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    e4040d8 View commit details
    Browse the repository at this point in the history
  2. Add bounty upgrade (#584)

    skyargos committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    b6228ec View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Release finding (#585)

    * add plain text of desc and poc in proto file
    
    * add comment to finding
    
    * add release finding process
    
    * reset to release finding one by one, and merge encrypted_desc,desc to one accept interface
    
    * fix lint
    
    * fix finding comment
    kevin-yuhh committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    89bcf97 View commit details
    Browse the repository at this point in the history
  2. Bounty program validate (#593)

    * check deposit in validateBasic
    
    * check deposit in MsgCreateProgram validateBasic
    kevin-yuhh committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    c5d0ad0 View commit details
    Browse the repository at this point in the history
  3. finding withdrawal (#590)

    * finding withdrawal
    
    * fix lint
    
    * change name & wrap errors & event field
    
    * fix ut
    
    * update merge conflict
    
    * update merge conflict
    0311xuyang committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    e1a15f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    7359565 View commit details
    Browse the repository at this point in the history
  2. Bounty any parse (#596)

    * fix ErrProgramFindingListEmpty
    
    * fix lint
    kevin-yuhh committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    9b506bb View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. add publickey verification (#601)

    * add public verification
    
    * improve TestReleaseFinding
    
    * improve CheckPlainText
    
    * improve release finding
    kevin-yuhh committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    c31441d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. [Bounty] terminate a program (#600)

    * add definitions for program termination
    
    * check in the generated pb.go
    
    * add messages handling
    
    * add cli cmd
    
    * add tx flag to terminate-program subcommand
    
    * check SubmissionEndTime before setting Active to false
    
    * rename terminateProgram as endProgram
    
    * make certifier eligible to end program
    haozhan9 committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    15c935d View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. add any UnpackInterfaces (#606)

    add any UnpackInterfaces
    kevin-yuhh committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    9d7b0b7 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Bounty genesis (#579)

    * add finding init
    
    * add programid:findinglist
    
    * add go-ethereum ecies generatekey
    
    * resume buf compilation
    
    * goimports bounty file
    
    * change encryption_key type to any
    
    * change encrypted_desc type to any
    
    * change severity level type to enum
    
    * add TestSaveLoadKey
    
    * sort import
    
    * severityLevel as enum
    
    * add findings to genesisState
    
    * merged bounty-encryption
    
    * add finding status
    
    * init SetNextFindingID
    
    * fix golint
    
    * pid to program_id, fid to finding_id
    
    * pid to program_id, fid to finding_id
    
    * fix some format error
    
    * add FlagSubmissionEndTime flag
    
    * improve TestFinding and TestProgram
    
    * improve encrypteddesc, encryptedpoc,encryptionkey test
    
    * improvement bounty genesis
    
    * add ValidateGenesis and test
    
    * GetNextProgramID return 1 if there is no program saved.
    
    * fix lint
    
    * improve genensis test
    
    * merge SetPidFindingIDList and setprogram to  one loop
    
    * directly use k.AppendFidToFidList to set findingIdList
    
    * sort import
    
    * fix ErrProgramFindingListEmpty
    
    * improve TestValidateGenesis
    
    * Add the valid function of finding and program
    
    * add getallfindings and getallprograms
    
    * Improved ValidateBasic for discovery and procedures
    
    * Improved error format
    
    * Improve the description of duplicate program error
    
    * optimize variable name
    kevin-yuhh committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    bc350ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c70341 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Bounty tests (#591)

    * create program e2e
    
    * update e2e tests
    
    * e2e of release finding
    
    * update e2e for end program
    0311xuyang committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    471f6bb View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Bounty base64 (#696)

    * display the base64 format code after the release
    
    * fix decrypt
    
    * fix e2e
    
    * optimize GetBase64QueryFinding
    kevin-yuhh committed May 29, 2023
    Configuration menu
    Copy the full SHA
    9c40571 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. merge master (#705)

    * merge master
    
    * fix e2e test
    
    ---------
    
    Co-authored-by: 0311xuyang <yang.xu@certik.com>
    kevin-yuhh and 0311xuyang committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    ffb9032 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    916f091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7212c8d View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Fix conflicts

    skyargos committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    21f5291 View commit details
    Browse the repository at this point in the history
  2. Optimize structure

    skyargos committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    9bb6d5c View commit details
    Browse the repository at this point in the history
  3. Fix lint error

    skyargos committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    39fe306 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ffcd87 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Add test case

    skyargos committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    65564a8 View commit details
    Browse the repository at this point in the history
  2. Add test case

    skyargos committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    10718a3 View commit details
    Browse the repository at this point in the history
  3. update go.mod

    skyargos committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    da24f66 View commit details
    Browse the repository at this point in the history
  4. Fix e2e test

    skyargos committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cd6dbd3 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Add test case

    skyargos committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6348953 View commit details
    Browse the repository at this point in the history
  2. Fix e2e test

    skyargos committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    6923d96 View commit details
    Browse the repository at this point in the history
  3. Fix e2e test

    skyargos committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4d8d086 View commit details
    Browse the repository at this point in the history
  4. Fix program e2e test

    skyargos committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    8d9af12 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Fix release finding

    skyargos committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    9e94af0 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Add bounty admin

    skyargos committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    7446fad View commit details
    Browse the repository at this point in the history
  2. fix lint error

    skyargos committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    fe1f7ae View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. fix test error

    skyargos committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    bf820a4 View commit details
    Browse the repository at this point in the history
  2. fix e2e test

    skyargos committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    e493a5f View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. add confirm finding paid

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    796581c View commit details
    Browse the repository at this point in the history
  2. fix test error

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6386e69 View commit details
    Browse the repository at this point in the history
  3. fix test error

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    57f3aa1 View commit details
    Browse the repository at this point in the history
  4. fix test error

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    afc9836 View commit details
    Browse the repository at this point in the history
  5. add fingerprint

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f5f0c0e View commit details
    Browse the repository at this point in the history
  6. fix lint error

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    4dd7fa2 View commit details
    Browse the repository at this point in the history
  7. add msg check

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    d894da8 View commit details
    Browse the repository at this point in the history
  8. add test case

    skyargos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e24a7ff View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. add confirmFindingPaid cmd

    skyargos committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    3a7e395 View commit details
    Browse the repository at this point in the history
  2. fix lint error

    skyargos committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    e2c53fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfc9ddf View commit details
    Browse the repository at this point in the history
  4. add cmd cli for query

    skyargos committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    432822e View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. add activate finding

    skyargos committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    98c79b3 View commit details
    Browse the repository at this point in the history
  2. fix review comment

    skyargos committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a39b82e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d798fe View commit details
    Browse the repository at this point in the history
  4. fix lint error

    skyargos committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    c21c0e3 View commit details
    Browse the repository at this point in the history
  5. delete coverage.txt

    skyargos committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    788a638 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. fix cli information

    skyargos committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    a49b885 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71c27dd View commit details
    Browse the repository at this point in the history
  3. modify some error messages

    skyargos committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    2d9cd27 View commit details
    Browse the repository at this point in the history