11 Commits

Author SHA1 Message Date
Adam Uhlíř
ddd764e668
feat: external configuration (#89) 2022-05-05 13:36:55 +02:00
Adam Uhlíř
360f3e07c2
feat: ts cli orchestrator (#81) 2022-04-29 15:51:09 +02:00
Adam Uhlíř
9ac5b11421
feat: api versions support (#72) 2022-02-09 08:26:03 +01:00
Cafe137
84e7925165
feat: bee 1.1.0 (#52)
* Update .env

* chore: format code and clean up dependencies

* refactor: extract BeePair

* feat: get traffic-gen to work with new endpoints

* docs: fix parameter names in jsdoc

* fix: fix bee endpoints

* fix: add prettier and fix endpoints

* fix: fix build param names

* docs: fix docs

* refactor: bee-cleanup for containers as well

Co-authored-by: nugaon <toth.viktor.levente@gmail.com>
2021-10-06 12:15:56 +02:00
nugaon
b8e451e57e
feat: bee 1.0.0 (#41)
* feat: new Price Oracle bytecode

* refactor: remove file smth.txt

* feat: new PostageStamp contract

* feat: change contract deploy workflow

* feat: bee-1.0.0-rc2 compatible runner

* feat: build from source (#47)

* feat: extend build-envrionment.sh with building bee image from source

* ci: new workflow option parameter - beeVersionAsCommitHash

* fix(ci): try to overwrite BEE_VERSION sys variable

* fix: do not export BEE_VERSION after env build

* fix(ci): run build-environment without source command

* fix(ci): try to retrieve built BEE_VERSION value

* fix: save build BEE_VERSION value

* fix(ci): retrieve built image tag in the last step

* refactor: echoerr

* refactor(ci): export sys variables

* feat: disable warmup time (#46)

* feat: disable warmup time

* fix: place warmup-time to the correct place

* fix: put quote back where it truly belongs

* feat: state commit (#45)

* refactor: remove payment treshold option because it causes performance issues

* docs: design planned parameters for the new build workflow

* feat: build environment with traffic gen option

* fix(log): rephrase traffic gen log

* feat: special bee version tagging when state commit happens

* build: new env variable STATE_COMMIT

* ci: STATE_COMMIT

* feat: state commit scripts

* refactor: destroy containers after state producing

* refactor: remove unnecessary echo

* fix: blockchain version at state commit

* build: bumo bee-js version

* build: update package-lock

* fix: fixes

* ci: build environment workflow with state commit

* refactor: buy larger stamp

* fix: publish workflow

* refactor: increase stamp depth

* fix: bee version fetch at commit

* refactor: start containers normally instead of ephemeral for debugging

* fix(ci): add chown for bee user on bee-data-dirs in order to write bee state

* fix: try out the permission on bee data dir with 777 chmod

* fix(ci): give folder permission in the build environment phrase

* refactor(ci): raise sleep between uploads in order to generate cheques

* refactor: wait 11 secs after batch purchase

* fix: commit version tag string true instead of boolean

* fix: add state commit check for set COMMIT_VERSION_TAG

* chore: bump bee version

Co-authored-by: Cafe137 <77121044+Cafe137@users.noreply.github.com>
2021-06-21 16:10:55 +02:00
Attila Gazso
894f39523d
chore: update bee-js to 0.10.0 (#38) 2021-06-04 14:20:57 +02:00
nugaon
9e366130b8
feat: 0.6.0 Bee (#4)
* feat: postage stamp

* chore: remove empty postage stamp sol

* fix: start the nodes with the new '--full-node' flag

* chore: blockchain image 1.1.1 - updated factory bin (#29)

* fix: add network id to the bee statup params

* fix: change payment treshold limit to the possible min value

* feat: add port-maps to the environment sh

* fix: specify the same chainId as the networkId

* feat: expose blockchain 9545 port to localhost

* feat: extended postage stamp contract

* refactor: remove price oracle setups

* feat: updated the gen-traffic to work with postage stamps (#28)

* feat: updated the gen-traffic to work with postage stamps

* chore: update to latest bee-js version

Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
2021-05-20 17:41:57 +02:00
nugaon
e61f2cb8a1
feat: traffic gen (#21)
* feat: generate random bytes and push to the binded nodes

* fix: npm reinstall

* fix: version dumps in package.json

* ci: bump version number of node

* feat: payment-tolerance

* refactor: gen 400 chunks with the trafficgen command

* feat: parametric traffic generation

* docs: amend beeShPorts description

* docs: readme

* fix: payment tolerance default value in bee.sh

* refactor: only beeApiUrl argument on script call

* docs: traffic gen readme adjustment

* refactor: instead of payment tolerance use payment threshold

* refactor: sleep ms raise and take out unnecessary axios call

* chore: await for upload, the script no longer overloads bee nodes with data (#27)

Co-authored-by: Vojtech Simetka <vojtech@simetka.cz>
2021-05-17 11:03:36 +02:00
nugaon
6bbe27743a refactor: renaming npm migrate script 2021-05-05 14:21:20 +02:00
nugaon
1b66139c7c
ci: init (#5)
* feat: build docker images with one script

* feat: publish the built docker image

* ci: init worflow to publish built docker image

* chore: add the new commands to the package.json

* ci: add npm setup command run

* ci: build with only node 12.x

* refactor: add github repo bee image prefix to .env

* ci: github action input for build docker image

* fix: intend in yaml

* fix: typeo

* fix: testing the rumor about github bug in order to show up the run workflow button

* revert: prev commit - did not work

* ci: only build image if it was clicked manually
2021-05-04 14:48:36 +02:00
nugaon
d38a2551a8
feat: init (#1)
* chore: add package.json and package.lock to the project

* build: add truffle configuration for contract deployment

* feat: init swarm contracts and define migration script

* feat: init bash scripts that orchestrate docker containers

* fix: change auto-mining to progressing blockchain in order to satisfy bee ts check

* chore: add npm command definitions and downgrade openzeppelin for solc ^0.6.0

* build: set solc compiler configuration similar to the original swarm deployment

* chore: generate bee keys until 5 nodes

* refactor: import erc20 logic from openzeppelin and remove sw3 contract because cannot produce same bytecode

* chore: add trimmed single-swap-factory bytecode (without token address param)

* feat: deploy erc20 and single swap factory contracts that bee also accepts

* feat: bee.sh and blockchain.sh

* feat: add supply script to fund bee overlay addresses

* docs: amend README

* docs: fix bee start command

* fix: bee.sh datadir path

* docs: add network script to the usage description

* fix: solc compiler truffle config
2021-04-23 16:16:35 +02:00