Skip to content
Snippets Groups Projects
  1. Sep 14, 2020
    • Hans Moog's avatar
      Feat: updated hive.go (#729) · 14592f27
      Hans Moog authored
      * Feat: updated hive.go
      
      * Feat: started refactoring parsing of entities
      
      * Feat: first changes due to hive.go new marshaling logic
      
      * Feat: fixed MessageMetadata
      
      * Feat: fixed Approver
      
      * Feat: updated MissingMessage
      
      * Feat: started updating first branch models
      
      * Feat: ported ConflictSet
      
      * Fix: fixed bug with Conflict
      
      * Fix: fixed some issues
      
      * Fix: fixed branchmanager refactor
      
      * Feat: refactored payload marshaling
      
      * Feat: finished reworking PayloadMetadata
      
      * Feat: finished refactoring PayloadApprover
      
      * Fix: fixed some more models
      
      * Feat: fixed some more issues
      
      * Fix: one model left :P
      
      * Fix: fixed last model
      
      * Feat: fixed test
      
      * Fix: fixed unused var bug due to debug
      
      * Feat: fixed something in faucet payload
      
      * Fix: fixed some issues
      
      * Fix: fixed a bug in the refactor
      
      * Feat: added debug output if error in drng test
      
      * :arrow_up:
      
       Update drand docker image
      
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Unverified
      14592f27
  2. Sep 10, 2020
  3. Aug 12, 2020
  4. Jul 28, 2020
  5. Jul 27, 2020
  6. Jul 23, 2020
    • Acha Bill's avatar
      sync beacon plugin (#644) · 4fb473f2
      Acha Bill authored
      * sync beacon
      
      * add integration tests
      
      * save point
      
      * use beacon as anchor point
      
      * review suggestion
      
      * check if monitor is already running before starting
      
      * debug: add logs
      
      * fix tests
      
      * separeate into sync beacon and sync beacon follower
      
      * review fixes
      
      * review changes
      Unverified
      4fb473f2
  7. Jun 29, 2020
  8. Jun 25, 2020
    • Ching-Hua (Vivian) Lin's avatar
      feat: Implement faucet dApp (#531) · a15f2729
      Ching-Hua (Vivian) Lin authored
      * Feat: Integrate faucet page to SPA plugin
      
      * Feat: Add Link to get txn of issued address
      
      * Feat: Add faucet payload
      
      * Feat: Add faucet plugin and minor tweaks
      
      * Fix: Check payload type after the txn is solid
      
      * Fix: Update package name
      
      * Fix: Fix payload test
      
      * Test: Add faucet test
      
      * Refactor: Minor tweaks in plugin/faucet.go
      
      * Feat: Add faucet webapi
      
      * Feat: Apply faucet plugins
      
      * Feat: Apply messagefactory and update to latest develop
      
      * Fix: Fix import error
      
      * Fix: Fix tests in binary/faucet
      
      * Feat: Integrate faucet page to SPA plugin
      
      * Feat: Add Link to get txn of issued address
      
      * Feat: Add faucet payload
      
      * Feat: Add faucet plugin and minor tweaks
      
      * Fix: Check payload type after the txn is solid
      
      * Fix: Update package name
      
      * Fix: Fix payload test
      
      * Test: Add faucet test
      
      * Refactor: Minor tweaks in plugin/faucet.go
      
      * Feat: Add faucet webapi
      
      * Feat: Apply faucet plugins
      
      * Feat: Apply messagefactory and update to latest develop
      
      * Fix: Fix import error
      
      * Fix: Fix tests in binary/faucet
      
      * refactor: Update to latest usage
      
      * fix: Update go.mod, go.sum
      
      * refactor: Disable faucet plugin by default
      
      * fix: Update to latest changes
      
      * feat: Add faucet payload layout
      
      * refactor: Move faucet to dapps
      
      * feat: Enable the faucet to send funds :sparkles:
      
      * Fix: fix tests
      
      * fix: Fix test
      
      * fix: Initiate LedgerState
      
      * Update packr on dashboard
      
      * refactor: refactor SendFunds in faucet dapp
      
      * feat: Add faucet integration test
      
      * feat: Add faucet integration test to script
      
      * doc: Add function descriptions
      
      * fix: fix wrong parameter in CheckBalances
      
      * fix: fix :dog:
      
      * fix some stuff
      
      * make the faucet configurable via CLI flags
      
      * make the faucet seed a parameter in the integration tests
      
      * activate the faucet on the peer master in docker-network
      
      * fixes wrong address route in faucet view
      
      * improves faucet processing log message
      
      * fix log messages in faucet dapp
      
      * improve error message further
      
      * fixes unit tests
      
      * adds tool to auto. gen. address
      
      * dog
      
      * wait for faucet funding tx to get booked before processing the next request
      
      * make the dog stay silent
      
      * decrease pow difficulty to 1 in int. tests
      
      * use 4 as the pow difficulty in integration tests
      
      * :dog:
      
      
      
      * fix integration tests
      
      * dec. pow diff to 1
      
      * use 0 for the faucet integration test
      
      * use a worker pool to serve faucet funding requests
      
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      Unverified
      a15f2729
  9. Jun 19, 2020
    • Luca Moser's avatar
      Adds consensus integration test (#468) · 57fb70b7
      Luca Moser authored
      * Feat: initial commit
      
      * Feat: added setPreferred to TransactionMetadata
      
      * Feat: added a Conflicting() method to the transactionMetadata
      
      * Fix: fixed logic bug
      
      * Feat: refactored fcob
      
      * Refactor: refactored additional code
      
      * Fix: fixed a bug in ForeachConsumers
      
      * Refactor: cleaned up code
      
      * Feat: implemented FCOB consensus into the valuetransfer dapp
      
      * Refactor: refactored FCOB
      
      * Docs: added some additional comments
      
      * Docs: fixed comments
      
      * add branch manager conflict test
      
      * cleans failing test
      
      * Refactor: commit before branch change
      
      * Fix: fixed bug in AggregateBranches
      
      * assert aggr. branch IDs
      
      * expands branch conflict detection test
      
      * add visualisation of branch graph of test
      
      * Feat: added PayloadLiked Event
      
      * Refactor: fixed some missing comments + added liked to marshal
      
      * Feat: reworked the preferred and liked propagation
      
      * Refactor: cleaned up some logic
      
      * Refactor: simplified code
      
      * Refactor: cleaned up more stuff :P
      
      * Refactor: refactor
      
      * Feat: moved test + refactored fcob
      
      * adds more tests
      
      * fixes liked state not getting updated correctly of conflict members
      
      * adds additional liked/preferred propagation test
      
      * Fix: fixed missing preferred propagation to aggregated branches
      
      * Fix: fixed a few bugs in liked propagation
      
      * adapt to new hive.go version
      
      * upgrade hive.go
      
      * Feat: started implementing a wallet
      
      * Feat: extended wallet files
      
      * remove weird test
      
      * use mem db for tests
      
      * more tests
      
      * use store backed sequence
      
      * add option to use in-memory database
      
      * address review comments
      
      * First tests for individual components of AttachPayloadSync
      
      * Fix: fixed missing events in branchmanaer
      
      * Feat: propagate changes from branch to transaction
      
      * Add tests for checkTransactionOutputs
      
      * Feat: started implementing confirmed propagation
      
      * Fix: fixed unreachable code
      
      * Add more tests
      
      * Refactor: refactored some code according to wolfgangs review
      
      * Refactor: cleaned up the code according to DRY
      
      * Refactor: refactored according to wollac
      
      * Refactor: refactored according to wollac
      
      * Refactor: refactored according to wollac
      
      * Refactor: refactored the code to make it more readable
      
      * Refactor: added some doc comments + cleaned up some more code
      
      * :white_check_mark: adds orderedMap unit tests
      
      * :rotating_light: Fix linter warnings
      
      * test: Add queue unit tests
      
      * Add more tests
      
      * :lipstick: Adjust imports order
      
      * WIP more tests
      
      * :white_check_mark: Add TestBookTransaction
      
      * :white_check_mark: Update TestBookTransaction
      
      * Add more tests
      
      * :construction: WIP tests
      
      * :white_check_mark: Add TestCalculateBranchOfTransaction
      
      * :white_check_mark: Add TestMoveTransactionToBranch
      
      * :white_check_mark: Add TestFork
      
      * :white_check_mark: Add TestBookPayload
      
      * Add test for checkPayloadSolidity
      
      * :white_check_mark: Add TestSetTransactionPreferred
      
      * Add more tests
      
      * :white_check_mark: Fix Tangle test
      
      * Feat: started implementing lucas test cases
      
      * Feat: fixed some issued + further tests
      
      * Feat: started adding invalid txs check
      
      * Feat: added removal logic for invalid transactions
      
      * Refactor: removed Println
      
      * :white_check_mark: Add test for 2nd Reattachment
      
      * feat: Add first value transfer integration test
      
      * fix: fix wrong plugin name
      
      * :white_check_mark: Add aggregated branches test cases
      
      * Feat: added a method to generate AggregatedBranchIDs
      
      * :art: Use GenerateAggregatedBranchID in test
      
      * Feat: refactored delete logic
      
      * Fix: fixed broken test
      
      * Feat: added final test cases for invalid txs / payloads
      
      * :construction:
      
       WIP
      
      * Value tangle concurrency tests (#451)
      
      * Add simple concurrency test
      
      * Add reverse and concurrent transaction and value object solidification tests and fix bug when value object was visited more than once
      
      * Add some documentation to make tests easily understandable
      
      * WIP propagation tests but fixed already couple of bugs
      
      * Fix: fixed some bugs
      
      * Feat: added propagation to inclusion states to tx and its outputs
      
      * Feat: finished the propagation down to the tx and its outputs
      
      * WIP propagation tests and fix bugs
      
      * Add colored tokens test
      
      * Add value tangle test to github workflow
      
      * fix: Fix wrong function name in comments
      
      * refactor: Make testSnapshots disabled in default and minor tweaks
      
      * Feat: fixed some issues and introduced a Debugger
      
      * Refactor: added a few comments
      
      * Split massive test file into slightly more digestible chunks
      
      * Clean up propagation tests
      
      * Feat: fixed bugs
      
      * Feat: enabled missing tests
      
      * Add some documentation and missing checks for aggregated branches
      
      * Clean up tangle tests
      
      * adds snapshot type
      
      * Fix: finalized wasn't propagated when a branch was rejected
      
      * implements ReadFrom and WriteTo for Snapshot
      
      * read in snapshot file if snapshot path is defined
      
      * renames snapshot test file
      
      * WIP debugging concurrency bug of death
      
      * Feat: added more reliable fails in test case
      
      * Fix: fixes a race condition in solidification
      
      * Clean up test
      
      * adds assets volume to integration test containers
      
      * fixes some asserts
      
      * adds non-working conflict integration test
      
      * check transaction availability in partition
      
      * renames integration test
      
      * lower amount of peers
      
      * first passing version of consensus integration test
      
      * remove debug printlns
      
      * do all integration tests again
      
      * increases avg. network delay fcob rule, removes debug printlns
      
      * go mod tidy by Marie Kondō
      
      * renames incl. state. conflict to conflicting
      
      * go fmt tangle.go
      
      * go fmt tangle_test, goimports dapp.go
      
      * goimports again because the dog is sad
      
      * run consensus integration test on the CI
      
      * use explicit pumba version 0.7.2
      
      * pray to the CI gods for the test to pass
      
      * fix panic when tangle.Fork() is called
      
      * readd all tests again
      
      * reset integration framework paras
      
      * removes test snapshot plugin
      
      * get rid of test snapshot plugin
      
      * fixes wrong use of Println
      
      * removes random tool
      
      * removes duplicated value entry in GH CI workflows
      
      * xxx
      
      * wip
      
      * fixes integration test
      
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarWolfgang Welz <welzwo@gmail.com>
      Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
      Unverified
      57fb70b7
  10. Jun 18, 2020
    • Ching-Hua (Vivian) Lin's avatar
      Add value tangle integration tests (#464) · 9d61542a
      Ching-Hua (Vivian) Lin authored
      
      * feat: Add first value transfer integration test
      
      * fix: fix wrong plugin name
      
      * Add colored tokens test
      
      * Add value tangle test to github workflow
      
      * fix: Fix wrong function name in comments
      
      * refactor: Make testSnapshots disabled in default and minor tweaks
      
      * refactor: refactor balance list update method
      
      * feat: Add inclusion states to weapis
      
      * refactor: Rename Conflict to Rejected
      
      * refactor: Remove unused parameter
      
      * refactor: Simplify colored token test and increase waiting time
      
      * fix: fix updateBalanceList
      
      * fix: enable testsnapshots plugin for each peer
      
      * refactor: Rename package name of each tests
      
      * refactor: Rename functions and add more comments
      
      * refactor: Add maxRetry to limit to avoid infinte loop and reduce else statement
      
      * refactor: Refactor functions and remove redundant codes
      
      * refactor: Rename shadowing variables
      
      * test: Add value test in runTest.sh
      
      * fixes some func comments
      
      * increase startup time to make up for slow CI
      
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      Unverified
      9d61542a
  11. Jun 16, 2020
  12. Jun 12, 2020
  13. May 30, 2020
    • Jonas Theis's avatar
      Parallel integration tests (#443) · fc739a8f
      Jonas Theis authored
      * Split tests in different packages so that they can run in parallel
      
      * Set name to env name
      
      * Add jobs for other integration tests
      
      * Adjust waiting times
      
      * Remove cleanup from workflow
      
      * Add timeout to wait for peers to start
      Unverified
      fc739a8f
  14. May 25, 2020
    • Jonas Theis's avatar
      Autopeering integration tests (#427) · 9a10cacb
      Jonas Theis authored
      * Add caching volume to tester container to significantly speed up integration test development
      
      * Increase wait time for peer to sync
      
      * Enable the creation of a partitioned network with Pumba to block traffic between the partitions
      
      * Add autopeering test
      Unverified
      9a10cacb
  15. May 11, 2020
  16. May 06, 2020
  17. May 04, 2020
  18. Apr 30, 2020
  19. Apr 24, 2020
  20. Apr 23, 2020
    • Jonas Theis's avatar
      Flexible integration tests (#339) · dcfd8db9
      Jonas Theis authored
      * Introduce concept of networks
      
      * Adjust tests to use flexible Docker networks
      
      * Adjust test execution workflow
      
      * Separately build GoShimmer Docker image
      
      * Generate identities to create containers from seeds
      
      * Move Docker network functionality
      
      * Add comments and docs
      
      * Update readme
      
      * Update readme
      
      * Address PR comments
      
      * Use log instead of fmt
      
      * Introduce proper error handling
      
      * Use named return for error
      Unverified
      dcfd8db9
  21. Apr 21, 2020
  22. Apr 16, 2020
    • Jonas Theis's avatar
      Integration tests (#312) · 14948393
      Jonas Theis authored
      * Add docker compose for running integration tests.
      Runs entry_node and arbitrary number of peers in docker network
      
      * Fix permission denied in container if run without mounting a `rw` volume making it possible to run as throw-away container.
      Remove `VOLUME` from Dockerfile as this only pollutes host system with anonymous volumes.
      
      * Use named network for easier external use
      
      * Add test container that discovers peers and waits for autopeering to happen
      
      * Fix min waitForNeighbors
      
      * Add go.sum
      
      * Run integration tests with Github Actions
      
      * Added framework that abstracts the docker network and provides convenience functionality
      
      * Update directory in Github Actions
      
      * Add bash script for automated local test execution
      
      * Add getMessageByHash endpoint
      
      * Adjust to merge changes
      
      * Add methods to easily do HTTP POST requests
      
      * Added relay message test
      
      * Increase client timeout
      
      * Verbose output for tests makes it easier to follow the execution
      
      * Introduce small API wrapper for GoShimmer HTTP API
      
      * Adjust relay test to use new API wrapper
      
      * WIP: Docker logs
      
      * Fix issue with serving visualizer analysis server of entry node
      
      * Persist logs of containers after CI run
      
      * Fix test file
      
      * Fix uploading of artifacts
      
      * Save all containers' logs as artifacts
      
      * Create logs files also with local run
      
      * Add possibility to retrieve logs from a peer via Docker logs
      
      * Make tester part of the goshimmer module to make code sharing possible
      
      * Use client/lib to make HTTP requests in tester
      
      * Fix unit test directory
      
      * Add comments/doc to the code
      
      * Add readme
      
      * Move tester to own module and don't build container but use existing golang one instead
      
      * Address PR comments
      
      * Adjust to merge
      
      * Only use 1 config file for all containers
      
      * go mod tidy
      
      * Rename client lib base url
      Unverified
      14948393
  23. Apr 03, 2020
  24. Mar 16, 2020
    • Jake Cahill's avatar
      Add contributing docs to .github repo (#292) · 548e7131
      Jake Cahill authored
      * Add contributing guidelines
      
      * Add dropdowns
      
      * Add contributing docs to .github repository
      
      * Fix links and add config
      
      * Update CONTRIBUTING.md
      
      * Update CONTRIBUTING.md
      
      * Update bug_report.md
      
      * Update feature_request.md
      Unverified
      548e7131
  25. Mar 04, 2020
  26. Mar 03, 2020
  27. Jan 22, 2020
  28. Jan 15, 2020
Loading