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

RC 0.9.14 #266

Merged
merged 116 commits into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
9d3116d
ST-510 Pluggable request handlers for sovtoken
Jun 3, 2019
3e07456
Merge branch 'master' into pluggable-request-handlers
Jun 6, 2019
2140b43
Merge branch 'master' of github.com:sovrin-foundation/token-plugin in…
Jun 6, 2019
7078a69
ST-510 Fixes for comments
Jun 6, 2019
f012c4d
Merge branch 'pluggable-request-handlers' of github.com:KitHat/token-…
Jun 6, 2019
ddcdc40
ST-510 Fixes for comments
Jun 6, 2019
8ad723b
ST-510 Fixed bls_store and state proof checks
Jun 6, 2019
2211c77
ST-510 Bump node version
Jun 6, 2019
a495ced
INDY-2097: bump plenum version, use libindy auth_rules
Toktar Jun 6, 2019
fce0adc
Merge pull request #251 from KitHat/pluggable-request-handlers
Jun 7, 2019
7b56424
INDY-2083: Bump indy-node version
Jun 10, 2019
0a277af
improves test helpers and nym tests
andkononykhin Jun 10, 2019
582cfea
makes pytest more verbose
andkononykhin Jun 10, 2019
b2b58ff
bumps version of libindy, makes pytest constraint strict
andkononykhin Jun 10, 2019
b15f1e8
updates tests to use new helpers
andkononykhin Jun 10, 2019
d7bca6f
ST-510 Move to pluggable request handlers in sovtokenfees
Jun 11, 2019
eff8398
INDY-2083: Bump node and libindy versions
Jun 13, 2019
70a895d
Merge pull request #254 from skhoroshavin/indy-2083
Jun 13, 2019
9a72df8
Merge branch 'master' of https://github.com/sovrin-foundation/token-p…
Toktar Jun 13, 2019
f63e109
INDY-2077: fix test_get_one_disabled_auth_rule_transaction
Toktar Jun 13, 2019
b30d801
INDY-2077: fix _validate_metadata and add test_forbid_set_fees
Toktar Jun 13, 2019
f0bdfb0
INDY-2077: refactoring tests
Toktar Jun 13, 2019
fd89b00
INDY-2077: add more tests for auth rules
Toktar Jun 13, 2019
efb0e9c
Merge pull request #257 from Toktar/story-2087-auth-rules
Jun 14, 2019
9b205e7
Merge branch 'master' of github.com:sovrin-foundation/token-plugin in…
andkononykhin Jun 14, 2019
0681478
adds tests for specific cases with fees outputs
andkononykhin Jun 15, 2019
f6d478e
adds missed test module
andkononykhin Jun 17, 2019
0d886bf
updates outputs preparation logic
andkononykhin Jun 17, 2019
40d407c
adds missed tests
andkononykhin Jun 17, 2019
ae0c242
Merge pull request #255 from andkononykhin/ST-555-test-multiple-input…
ashcherbakov Jun 17, 2019
10779e8
ST-510: Review fixes
ArtObr Jun 17, 2019
bdd790d
Merge remote-tracking branch 'base/master' into pluggable_req_handlers
ArtObr Jun 17, 2019
a8a6881
ST-510: Rename TRUST_ANCHOR to ENDORSER
ArtObr Jun 18, 2019
8bb3958
ST-510: Bump Indy Node
ArtObr Jun 18, 2019
27c010c
ST-105: Fix test
ArtObr Jun 18, 2019
1931833
ST-105: Revert handler separation
ArtObr Jun 18, 2019
a1b353a
ST-105: Fix tests
ArtObr Jun 18, 2019
95ba82a
Merge pull request #1 from ArtObr/pluggable_req_handlers
Jun 18, 2019
f3ef398
Fix failing tests
Jun 18, 2019
5a73f00
Merge pull request #256 from KitHat/pluggable-request-handlers
Jun 19, 2019
b2c82f6
ST-510: Addition of __init__ files
ArtObr Jun 20, 2019
3bafaf5
Merge pull request #260 from ArtObr/fix_st_510
Jun 20, 2019
bc84a92
INDY-1861: Integrate pluggable req handlers
ArtObr Jun 20, 2019
9274199
Merge remote-tracking branch 'base/master' into indy_1861
ArtObr Jun 20, 2019
2d676dd
INDY-1861: Fixes for sovtoken
ArtObr Jun 20, 2019
385308e
ST-523: Review fixes
ArtObr Jun 20, 2019
2147e24
ST-523: update tests
Toktar Jun 20, 2019
8bfae3d
Merge branch 'indy_1861' of https://github.com/ArtObr/token-plugin in…
Toktar Jun 20, 2019
a4f526f
ST-523: little fix for sovtoken init
ArtObr Jun 20, 2019
495a207
ST-523: Integrate pluggable req handlers in sovtoken
ArtObr Jun 20, 2019
667fd51
ST-523: change order of batch handlers for TOKEN_LEDGER
Toktar Jun 21, 2019
9fc2881
Merge branch 'indy_1861' of https://github.com/ArtObr/token-plugin in…
Toktar Jun 21, 2019
0eb5792
ST-523: fix integrate_plugin_in_node in sovtokenfees
Toktar Jun 21, 2019
4893ace
Merge pull request #2 from Toktar/indy_1861
ArtObr Jun 21, 2019
70358ef
ST-523: update tests
Toktar Jun 21, 2019
fade69d
INDY-1861: Review fixes
ArtObr Jun 24, 2019
6237e0a
INDY-1861: Fix for DomainFeeHandler
ArtObr Jun 24, 2019
e5abfaa
ST-523: Test fixes
ArtObr Jun 24, 2019
dc3cc06
updates release logic in CD pipeline
andkononykhin Jun 24, 2019
fd71ffb
debug
andkononykhin Jun 24, 2019
3f83d0a
pipelines fixes
andkononykhin Jun 24, 2019
dd05fb7
ST-523: Test fixes
ArtObr Jun 25, 2019
9b7d874
ST-523: Fix for 3pc tests
ArtObr Jun 25, 2019
3d24383
improves logging and email notifications
andkononykhin Jun 25, 2019
607c3fd
debug
andkononykhin Jun 25, 2019
429af6d
fixes gstring
andkononykhin Jun 25, 2019
4ee1138
debug
andkononykhin Jun 25, 2019
b2a3fff
improves email notifications
andkononykhin Jun 25, 2019
bb7fd39
debug
andkononykhin Jun 25, 2019
9a0b619
improves email notifications
andkononykhin Jun 25, 2019
df6f108
debug
andkononykhin Jun 25, 2019
d9a2232
Revert "debug"
andkononykhin Jun 25, 2019
0902f3f
Revert "debug"
andkononykhin Jun 25, 2019
61e0f49
sets force backup during debian publishing
andkononykhin Jun 25, 2019
81d0943
Revert "debug"
andkononykhin Jun 25, 2019
e2a7980
Revert "debug"
andkononykhin Jun 25, 2019
5be0c52
Revert "debug"
andkononykhin Jun 25, 2019
1784231
[ST-513] fix revert and catchup
Jun 25, 2019
86dea77
debug
andkononykhin Jun 25, 2019
ce00905
Revert "debug"
andkononykhin Jun 25, 2019
d29bd66
Merge pull request #4 from anikitinDSR/public/indy-513
ArtObr Jun 25, 2019
ddb16b3
Merge remote-tracking branch 'Toktar/indy_1861' into public/indy-513
Jun 25, 2019
a1263a1
adds docs about release process
andkononykhin Jun 25, 2019
63edb09
Fix tests
Jun 25, 2019
596136c
ST-523: Fix for auth rules
ArtObr Jun 25, 2019
106c34b
Merge branch 'indy_1861' of github.com:ArtObr/token-plugin into indy_…
ArtObr Jun 25, 2019
103d92f
Merge pull request #5 from KitHat/fix-tests
ArtObr Jun 25, 2019
d111716
[ST-523] fix test_static_fee_handler
Jun 25, 2019
83b478f
Merge pull request #6 from anikitinDSR/public/indy-513
ArtObr Jun 25, 2019
905cdc4
ST-523: Folder for integration tests
ArtObr Jun 25, 2019
58bfecf
ST-523: folder fix
ArtObr Jun 25, 2019
b52f172
fix batch handler tests
Jun 26, 2019
454f91e
Merge pull request #7 from KitHat/fix-tests
ArtObr Jun 26, 2019
c42a4a8
ST-523: Bump indy-node
ArtObr Jun 26, 2019
c130881
Merge branch 'indy_1861' of github.com:ArtObr/token-plugin into indy_…
ArtObr Jun 26, 2019
ef95816
ST-523: Auth rules validation fixes
ArtObr Jun 26, 2019
396190f
ST-523: Skip unit tests
ArtObr Jun 26, 2019
b765df7
ST-523: Fix test
ArtObr Jun 26, 2019
e2c21b4
improves docs
andkononykhin Jun 26, 2019
2b56a03
Merge pull request #261 from ArtObr/indy_1861
Jun 26, 2019
78ecd4c
bumps node version to 1.9.0.dev1010
andkononykhin Jun 26, 2019
57dcb8c
Merge pull request #264 from andkononykhin/bump-node-version
skhoroshavin Jun 26, 2019
596031e
Merge branch 'master' of github.com:sovrin-foundation/token-plugin in…
andkononykhin Jun 27, 2019
4cc36ac
Merge pull request #262 from andkononykhin/ST-593-rc-release
andkononykhin Jun 27, 2019
e9b6e31
Bump indy-node 1011
ArtObr Jun 27, 2019
bf1d5ad
Merge pull request #265 from ArtObr/bump_node_1011
Jun 27, 2019
e2398a3
Merge remote-tracking branch 'upstream/master' into stable
Jun 28, 2019
16d3c18
Bump version to 0.9.14
Jun 28, 2019
d534648
updates docs
andkononykhin Jun 28, 2019
2dd0b05
adds suffix for rc debian packages
andkononykhin Jun 28, 2019
b4746a2
updates docs
andkononykhin Jun 28, 2019
db655c9
fixes syntax
andkononykhin Jun 28, 2019
8c327cd
updates logs
andkononykhin Jun 28, 2019
89db45b
adds suffixes for rc and dev releases
andkononykhin Jun 28, 2019
33457e7
Merge pull request #267 from andkononykhin/ST-593-fix-releae-docs
andkononykhin Jun 28, 2019
dc4c2fd
Merge remote-tracking branch 'upstream/master' into stable
Jun 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devops/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ifeq ($(SRC_DIR_NAME),sovtoken)
# pypi: indy-plenum
# apt: indy-plenum (stable component)

FPM_P_DEPENDS := indy-node(=1.8.1)
FPM_P_DEPENDS := indy-node(=1.9.0~rc1)
FPM_ARGS := --no-python-dependencies $(FPM_ARGS)
endif

Expand Down
269 changes: 152 additions & 117 deletions devops/aws-codebuild/Jenkinsfile.cd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!groovy

String projectName = 'token-plugin'

def sovLibrary = library(identifier: 'sovrin-aws-codebuild@v1.0.1', retriever: modernSCM(
github(credentialsId: 'sovbot-github', repoOwner: 'sovrin-foundation', repository: 'aws-codebuild-pipeline-plugin')
)).com.sovrin.pipeline
Expand All @@ -18,12 +20,11 @@ def downloadPackagingUtils() {
}

def nodeLabels = [
codeBuild: env.LIBSOVTOKEN_CODEBUILD_NODE_LABEL ?: 'codebuild',
macos: env.LIBSOVTOKEN_MACOS_NODE_LABEL ?: 'macos',
codeBuild: env.LIBSOVTOKEN_CODEBUILD_NODE_LABEL ?: 'codebuild',
macos: env.LIBSOVTOKEN_MACOS_NODE_LABEL ?: 'macos',
]

pipelineWrapper({

//put code build containers inside a vpc under our dev account
env.USE_VPC_CONFIG = true
//this IP is outdated, should use the one from env
Expand All @@ -32,6 +33,11 @@ pipelineWrapper({
nodeWrapper(nodeLabels.codeBuild) {
def osname = 'xenial'
List projects = ['sovtoken', 'sovtokenfees']
List pkgsList = []
String indyNodeVersion
Boolean isRC = false
Boolean isRelease = false
Boolean isDev = (env.BRANCH_NAME == 'master')

stage('Checkout sources from SCM') {
checkout scm
Expand All @@ -43,6 +49,18 @@ pipelineWrapper({
['devops', 'sovtoken/sovtoken/__metadata__.py', 'sovtokenfees/sovtokenfees/__metadata__.py'])
def awsCBHelper = sovLibrary.AwsCodeBuildHelper.new(this, buildCtx)

stage('Get indy-node version') {
indyNodeVersion = utils.shStdout("""
sed -n "s/.*indy-node==\\([^\\"\\']\\+\\).*/\\1/p" sovtoken/setup.py
""")
if (!indyNodeVersion) {
throw new Exception('indy-node version is not found')
}
isRC = !!((env.BRANCH_NAME == 'stable') && indyNodeVersion.find(/[^0-9\.]/))
isRelease = ((env.BRANCH_NAME == 'stable') && !isRC)
logger.info("Detected indy-node version: '$indyNodeVersion', isRC: $isRC, isRelease: $isRelease")
}

Map builds = [
"s3-upload": { // performs on the current jenkins node
stage('Upload source to S3') {
Expand All @@ -65,126 +83,142 @@ pipelineWrapper({
}

builds = projects.collectEntries { proj ->
["$osname:$proj": [
nodeLabel: "${nodeLabels.codeBuild}",
build: {

def packageName = proj
def prTag = "ci-$osname-$proj" // use ci project
def srcVersion
def lastRevision
def debPVersion
def goals = ['package']

def ciImageTag

stage('Get source version') {
srcVersion = utils.shStdout("SRC_DIR_NAME=$proj make -C devops src_version -s")
logger.info("Current source version: $srcVersion")
}

// stage('Get last revision') {
// lastRevision = evernymRepo.getLastRevision {
// delegate.packageName = packageName
// packageSrcVersion = srcVersion
// repoDistr = 'agency-dev'
// }
String projLabel = "$osname-$proj"

["$projLabel": [
nodeLabel: "${nodeLabels.codeBuild}",
build: {
def packageName = proj
def prTag = "ci-$osname-$proj" // use ci project
def srcVersion
def lastRevision
def debPVersion
def goals = ['package']

def ciImageTag

stage('Get source version') {
srcVersion = utils.shStdout("SRC_DIR_NAME=$proj make -C devops src_version -s")
logger.info("Current source version: $srcVersion")
}

// stage('Get last revision') {
// lastRevision = evernymRepo.getLastRevision {
// delegate.packageName = packageName
// packageSrcVersion = srcVersion
// repoDistr = 'agency-dev'
// }
//
// if (lastRevision) {
// logger.info("Found last revision number: $lastRevision")
// } else {
// logger.info("No previous revision was found")
// }
// }


stage('Set release parameters') {
def releaseVersion = env.BRANCH_NAME == 'stable' ? '' : "$BUILD_NUMBER"

debPVersion = "$srcVersion${releaseVersion ? '~' + releaseVersion : ''}"
logger.info("Package version for sovrin repo: $debPVersion")
}

stage("$osname:$proj: Resolve image tag") {
def _imgVersion = utils.shStdout("OSNAME=$osname make -C devops image_ci_version -s")
ciImageTag = "$_imgVersion-$osname-$proj-ci"
logger.info("CI docker image tag: $ciImageTag")
}

awsCBHelper.build() {
projectTag = prTag

// build spec for env image
envBuildSrc = ['devops', "${proj}/${proj}/__metadata__.py"] // TODO make more accurate
envBuildCmds = [
'export PROJECT_DIR=$PWD',
'make -C devops image_ci'
]
envBuildEnvv = [
[name: 'OSNAME', value: osname],
[name: 'SRC_DIR_NAME', value: proj],
[name: 'DOCKER_NAME', value: awsCBHelper.buildCtx.projectName],
[name: 'DOCKER_TAG', value: ciImageTag],
]

// env and build spec
imageTag = ciImageTag
buildspec = 'devops/aws-codebuild/buildspec.yml'
envv = [
[name: 'OSNAME', value: osname],
[name: 'MAKE_GOALS', value: 'package'],
[name: 'SRC_DIR_NAME', value: proj],
[name: 'ARTIFACTS', value: "devops/_build/$proj/*$packageName*.*"], // TODO more accurate here
[name: 'FPM_P_VERSION', value: debPVersion],
]

onArtifacts = {
this.stage("$osname:$proj: Archive logs") {
utils.archiveArtifacts("logs/*.log*") {
truncate = true
allowEmptyArchive = true
}
}
}
}


stage('Upload debs to repos') {

String debName

dir("${awsCBHelper.buildCtx.projects[prTag].artifactsDir}") {
dir("sovrin-packaging") {
downloadPackagingUtils()
}

debName = utils.shStdout("ls $packageName*$debPVersion*.deb")

logger.info("Uploading debian package '$debName' to sovrin repo")
sh "mkdir debs && mv $debName ./debs/"
withCredentials([file(credentialsId: 'SovrinRepoSSHKey', variable: 'sovrin_key')]) {
sh "./sovrin-packaging/upload_debs.py ./debs $env.SOVRIN_CORE_REPO_NAME $env.BRANCH_NAME --host $env.SOVRIN_REPO_HOST --ssh-key $sovrin_key"
}

}

notifier.email {
to = '$DEFAULT_RECIPIENTS ' + (this.env.LIBSOVTOKEN_DEF_RECIPIENTS ?: '')
subject = '$PROJECT_NAME - Build # $BUILD_NUMBER: ' + "new deb '$debName' was published"
body = ("New debian package '$debName' was built and published" +
'\n\nCheck console output at $BUILD_URL to view the results.')
}
}

}
]
]
// if (lastRevision) {
// logger.info("Found last revision number: $lastRevision")
// } else {
// logger.info("No previous revision was found")
// }
// }


stage('Set release parameters') {
def releaseVersion = isRelease ? '' : (isRC ? 'rc' : isDev ? 'dev' : '') + "$BUILD_NUMBER"
debPVersion = "$srcVersion${releaseVersion ? '~' + releaseVersion : ''}"
logger.info("Package version for sovrin repo: $debPVersion")
}

stage("$projLabel: Resolve image tag") {
def _imgVersion = utils.shStdout("OSNAME=$osname make -C devops image_ci_version -s")
ciImageTag = "$_imgVersion-$osname-$proj-ci"
logger.info("CI docker image tag: $ciImageTag")
}

awsCBHelper.build() {
projectTag = prTag

// build spec for env image
envBuildSrc = ['devops', "${proj}/${proj}/__metadata__.py"] // TODO make more accurate
envBuildCmds = [
'export PROJECT_DIR=$PWD',
'make -C devops image_ci'
]
envBuildEnvv = [
[name: 'OSNAME', value: osname],
[name: 'SRC_DIR_NAME', value: proj],
[name: 'DOCKER_NAME', value: awsCBHelper.buildCtx.projectName],
[name: 'DOCKER_TAG', value: ciImageTag],
]

// env and build spec
imageTag = ciImageTag
buildspec = 'devops/aws-codebuild/buildspec.yml'
envv = [
[name: 'OSNAME', value: osname],
[name: 'MAKE_GOALS', value: 'package'],
[name: 'SRC_DIR_NAME', value: proj],
[name: 'ARTIFACTS', value: "devops/_build/${proj}/*${packageName}*.*"], // TODO more accurate here
[name: 'FPM_P_VERSION', value: debPVersion],
]

onArtifacts = {
this.stage("$projLabel: Archive logs") {
utils.archiveArtifacts("logs/*.log*") {
truncate = true
allowEmptyArchive = true
}

String pkgBaseName = "${packageName}_${debPVersion}"

this.stash includes: utils.shStdout("ls ${pkgBaseName}_*.deb"), name: pkgBaseName
pkgsList += pkgBaseName
}
}
}
}
]]
}

stage("Package and publish") {
stage("Build artifacts") {
builds.failFast = false
utils.parallel builds
}

stage('Release artifacts') {
String repoName = env.SOVRIN_CORE_REPO_NAME
String repoComponent = env.BRANCH_NAME
String debsDir = 'debs'

if (isRC) {
repoComponent = 'rc'
}
logger.info("Debian repo component is set to: '$repoComponent'")

dir(debsDir) {
pkgsList.each {
unstash name: it
}
}
logger.info("Uploading debian packages to '${repoName}/${repoComponent}' sovrin repo: $pkgsList")

dir("sovrin-packaging") {
downloadPackagingUtils()
}

withCredentials([file(credentialsId: 'SovrinRepoSSHKey', variable: 'sovrin_key')]) {
sh "./sovrin-packaging/upload_debs.py $debsDir $repoName $repoComponent --host $env.SOVRIN_REPO_HOST --ssh-key $sovrin_key --force-backup"
}

notifier.email {
to = '$DEFAULT_RECIPIENTS ' + (this.env.LIBSOVTOKEN_DEF_RECIPIENTS ?: '')
subject = "[$projectName] new packages ${pkgsList.join(' ')} published to '${repoName}/${repoComponent}' repo"
body = """
|New debian packages ${pkgsList.join(' ')} were built and published to '${repoName}/${repoComponent}' repo
|
|Build:
| Project: \$PROJECT_NAME
| Url: ${this.env.BUILD_URL}
| Number: ${this.env.BUILD_NUMBER}
|
|Check console output at ${this.env.BUILD_URL}console to view the details.
""".stripMargin()
}
}
}
}, { err ->
if (err) {
Expand All @@ -193,6 +227,7 @@ pipelineWrapper({

stage("Build result notification") {
notifier.email {
subject = "[$projectName] \$DEFAULT_SUBJECT"
to = '$DEFAULT_RECIPIENTS ' + (this.env.LIBSOVTOKEN_DEF_RECIPIENTS ?: '')
}
}
Expand Down
2 changes: 1 addition & 1 deletion devops/aws-codebuild/Jenkinsfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pipelineWrapper({
[name: 'OSNAME', value: osname],
[name: 'MAKE_GOALS', value: goals.join(' ')],
[name: 'SRC_DIR_NAME', value: proj],
[name: 'PYTEST_ARGS', value: "-l -v --junit-xml=/tmp/artifacts/logs/test.${proj}.xml"],
[name: 'PYTEST_ARGS', value: "-l -vv --junit-xml=/tmp/artifacts/logs/test.${proj}.xml"],
]

onArtifacts = {
Expand Down
2 changes: 1 addition & 1 deletion devops/denv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt-get update -y && apt-get install -y \
zlib1g-dev \
liblz4-dev \
libsnappy-dev \
# libindy
# libindy
python3-nacl \
libindy-crypto=0.4.5 \
libindy=1.8.2
Expand Down
2 changes: 1 addition & 1 deletion devops/docker/ci/xenial/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88 \
RUN add-apt-repository "deb https://repo.sovrin.org/sdk/deb xenial master" \
&& apt-get update && apt-get install -y \
libindy-crypto=0.4.5 \
libindy=1.9.0~1122 \
libindy=1.9.0~1132 \
libsovtoken=0.9.7~66 \
&& rm -rf /var/lib/apt/lists/*

Expand Down
6 changes: 3 additions & 3 deletions docs/deploy_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1) POOL_UPGRADE with the `indy-node` package version 1.6.70 to support `sovrin` package in POOL_UPGRADE txn
2) Upgrade the CLI (locally) to 1.6.6 libindy, indy-CLI
3) POOL_UPGRADE with the `sovrin` package version `1.1.20` to have TDE-ready version of plugins installed. **TODO: This version is still a stub. Define first version with plugins and with trust anchor restriction**
3) POOL_UPGRADE with the `sovrin` package version `1.1.20` to have TDE-ready version of plugins installed. **TODO: This version is still a stub. Define first version with plugins and with endorser restriction**
It might be done with [POOL_UPGRADE](https://github.com/hyperledger/indy-node/blob/master/docs/pool-upgrade.md) transaction. You can do it from `indy-cli` with this command:
```
Command:
Expand Down Expand Up @@ -131,8 +131,8 @@ Tokens can be distributed via `XFER_PUBLIC`. To make it we need to go through th

Setting fees process is similar to minting -- you need the build transaction, get the approval (signature) of trustees and to send it to the ledger. Details of this process are described in [setting fees guide](https://github.com/sovrin-foundation/libsovtoken/blob/master/doc/set_fees_process.md)

## Configure the ledger to remove the need for trust anchors
## Configure the ledger to remove the need for endorsers

When fees are set for the transactions, we can allow to write to the ledger from DIDs that are not a trust anchor (of course if the have tokens to pay the fee). For this we need to make a POOL_UPGRADE once again for a `sovrin` package of version `1.1.21`. **TODO: This version is still a stub yoo. Define first version with plugins and without trust anchor restriction**
When fees are set for the transactions, we can allow to write to the ledger from DIDs that are not a endorser (of course if the have tokens to pay the fee). For this we need to make a POOL_UPGRADE once again for a `sovrin` package of version `1.1.21`. **TODO: This version is still a stub yoo. Define first version with plugins and without endorser restriction**


Loading