1. Mar 08, 2024
  2. Feb 23, 2024
  3. Feb 22, 2024
  4. Feb 08, 2024
  5. Nov 29, 2023
    • Frank Bell's avatar
      feat: delayed finalization (#214) · 813d99f4
      Frank Bell authored
      Adds `--finalize-delay-sec` cli argument, based on the great work by
      @shunsukew at https://github.com/inkdevhub/swanky-node/pull/61.
      
      Manual testing by starting node with/without option, along with example
      contract upload:
      ```shell
      # build example contract
      cargo contract build --manifest-path=../ink-examples/erc20/Cargo.toml
      
      # start node
      cargo run
      
      # upload contract
      cargo contract upload --suri //Alice --execute --manifest-path=../ink-examples/erc20/Cargo.toml
      # check finalized head remains at genesis
      sleep 1
      test $(curl -sH "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "chainHead_unstable_genesisHash", "params":[]}' http://localhost:9944 | jq .result) \
        = $(curl -sH "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "chain_getFinalizedHead", "params":[]}' http://localhost:9944 | jq .result) && echo PASS || echo FAIL
      
      
      # start node (with delayed finalization)
      cargo run -- --finalize-delay-sec 1
      
      # upload contract
      cargo contract upload --suri //Alice --execute --manifest-path=../ink-examples/erc20/Cargo.toml
      # check finalized head matches chain head
      sleep 1
      test $(curl -sH "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "chain_getHead", "params":[]}' http://localhost:9944 | jq .result) \
        = $(curl -sH "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "chain_getFinalizedHead", "params":[]}' http://localhost:9944 | jq .result) && echo PASS || echo FAIL
      
      ```
      
      Closes #160
      813d99f4
  6. Nov 28, 2023
  7. Nov 16, 2023
  8. Nov 15, 2023
  9. Nov 14, 2023
  10. Nov 08, 2023
    • Yuri Volkov's avatar
      Fixing gitspiegel trigger workflow (#215) · 9c508f0c
      Yuri Volkov authored
      The first attept to use a workflow to protect GitLab CI from untrusted
      contributors failed, because GitHub doesn't pass secrets to workflows
      for PRs that originate from forks.
       
      This uses a different approach: instead of triggerring gitspiegel API
      directly from the workflow, we're just spawning an empty workflow with a
      specific path, and gitspiegel listens for `workflow_run` event to start
      mirroring.
      
      The idea is the same: for the first-time contributors, running workflows
      would require manual aciton and that would block mirroring. But this
      time, we don't need any secrets to make it work.
      9c508f0c
  11. Nov 06, 2023
    • PG Herveou's avatar
      Enable parachain mode (#212) · a7733f85
      PG Herveou authored
      This PR update the current code to use the parachain-template-code.
      The template code has been modified to allow continued use of a solo
      node, preserving existing behaviors by default.
      
      when launched using the --chain "contracts-parachain-local", it will now
      starts a parachain instead.
      a7733f85
  12. Nov 02, 2023
    • Yuri Volkov's avatar
      Adding gitspiegel-trigger workflow (#213) · 4e2d3488
      Yuri Volkov authored
      Using a workflow to trigger mirroring instead of a webhook allows us to
      reuse "Approving workflow runs from public forks" GitHub feature to
      somewhat protect us from malicious PRs
      4e2d3488
  13. Oct 18, 2023
  14. Oct 05, 2023
  15. Sep 05, 2023
  16. Sep 01, 2023
  17. Aug 06, 2023
  18. Jul 26, 2023
  19. Jul 25, 2023
  20. Jul 24, 2023
  21. Jun 22, 2023
  22. Jun 08, 2023
  23. Jun 06, 2023
  24. May 30, 2023
  25. May 29, 2023
  26. May 26, 2023
  27. May 22, 2023
  28. May 05, 2023
  29. Feb 22, 2023
  30. Feb 07, 2023
  31. Jan 31, 2023
  32. Jan 25, 2023
  33. Dec 13, 2022
  34. Nov 24, 2022
    • Alexander Theißen's avatar
      Cleanup dependencies (#162) · c80b4630
      Alexander Theißen authored
      - Removed some flat out unused dependencies
      - Remove last pieces of (defunct) benchmarking infrastructure
      - Remove rocksdb: It takes notoriously long to build and there is no
      reason why we shouldn't use parity-db for this dev node
      c80b4630