{{- if .Values.chain.testing }}
kind: ConfigMap
apiVersion: v1
metadata:
  labels:
    app: {{ template "burrow.name" . }}
    chart: {{ template "burrow.chart" $ }}
    heritage: {{ $.Release.Service }}
    release: {{ $.Release.Name }}
  name: {{ template "burrow.fullname" . }}-genesis
data:
  genesis.json: |
    {"GenesisTime":"2018-12-20T09:43:49.505674605Z","ChainName":"agreements.network","Params":{"ProposalThreshold":3},"GlobalPermissions":{"Base":{"Perms":"send | call | createContract | createAccount | bond | name | proposal | input | batch | hasBase | hasRole","SetBit":"root | send | call | createContract | createAccount | bond | name | proposal | input | batch | hasBase | setBase | unsetBase | setGlobal | hasRole | addRole | removeRole"}},"Accounts":[{"Address":"744630EA9A7CBD310AE7B8EDAFCBF94E54D23F37","PublicKey":{"CurveType":"ed25519","PublicKey":"D0FCF06BC69C9A046D7249CDDBE5CC287349C8EB7C160A58680D807CB849BC7A"},"Amount":9999999999,"Name":"Validator_0","Permissions":{"Base":{"Perms":"bond","SetBit":"bond"}}},{"Address":"2C1B7046183387E63C17898235D3C0FDE4943BC7","PublicKey":{"CurveType":"ed25519","PublicKey":"7630B56CD8CAB7E2181EA4ADB4288466F035A0F74710E1E8E7EE4E4101C43BF0"},"Amount":9999999999,"Name":"Validator_1","Permissions":{"Base":{"Perms":"bond","SetBit":"bond"}}},{"Address":"C5291CE95749A2DE1D992946B683280D75EDBE8C","PublicKey":{"CurveType":"ed25519","PublicKey":"8912F216635661071EF50019D5AF6CA4AF878BF5216AE2582AD39D7F644A3AAB"},"Amount":9999999999,"Name":"Validator_2","Permissions":{"Base":{"Perms":"bond","SetBit":"bond"}}},{"Address":"A5BCAF761B774A61FADA691AB40C4E9A20D82B7B","PublicKey":{"CurveType":"ed25519","PublicKey":"E005A1D989A98B6A7910DA06A3942158676C83A057C98A08A9B5285E8E960A8B"},"Amount":9999999999,"Name":"Validator_3","Permissions":{"Base":{"Perms":"bond","SetBit":"bond"}}}],"Validators":[{"Address":"744630EA9A7CBD310AE7B8EDAFCBF94E54D23F37","PublicKey":{"CurveType":"ed25519","PublicKey":"D0FCF06BC69C9A046D7249CDDBE5CC287349C8EB7C160A58680D807CB849BC7A"},"Amount":9999999998,"NodeAddress":"9367CCE15205DC38DA61F5B348AF2AFEED2FE77A","Name":"Validator_0","UnbondTo":[{"Address":"744630EA9A7CBD310AE7B8EDAFCBF94E54D23F37","PublicKey":{"CurveType":"ed25519","PublicKey":"D0FCF06BC69C9A046D7249CDDBE5CC287349C8EB7C160A58680D807CB849BC7A"},"Amount":9999999998}]},{"Address":"2C1B7046183387E63C17898235D3C0FDE4943BC7","PublicKey":{"CurveType":"ed25519","PublicKey":"7630B56CD8CAB7E2181EA4ADB4288466F035A0F74710E1E8E7EE4E4101C43BF0"},"Amount":9999999998,"NodeAddress":"5B624373E8EE692ACDAF408F5B8E0831E78FEC50","Name":"Validator_1","UnbondTo":[{"Address":"2C1B7046183387E63C17898235D3C0FDE4943BC7","PublicKey":{"CurveType":"ed25519","PublicKey":"7630B56CD8CAB7E2181EA4ADB4288466F035A0F74710E1E8E7EE4E4101C43BF0"},"Amount":9999999998}]},{"Address":"C5291CE95749A2DE1D992946B683280D75EDBE8C","PublicKey":{"CurveType":"ed25519","PublicKey":"8912F216635661071EF50019D5AF6CA4AF878BF5216AE2582AD39D7F644A3AAB"},"Amount":9999999998,"NodeAddress":"C13AEAC6523429A1ED244255D2BBAA7CB4AB7CB4","Name":"Validator_2","UnbondTo":[{"Address":"C5291CE95749A2DE1D992946B683280D75EDBE8C","PublicKey":{"CurveType":"ed25519","PublicKey":"8912F216635661071EF50019D5AF6CA4AF878BF5216AE2582AD39D7F644A3AAB"},"Amount":9999999998}]},{"Address":"A5BCAF761B774A61FADA691AB40C4E9A20D82B7B","PublicKey":{"CurveType":"ed25519","PublicKey":"E005A1D989A98B6A7910DA06A3942158676C83A057C98A08A9B5285E8E960A8B"},"Amount":9999999998,"NodeAddress":"A85AE5C27FEDEFA57F425B7762A1BB5CCA095E64","Name":"Validator_3","UnbondTo":[{"Address":"A5BCAF761B774A61FADA691AB40C4E9A20D82B7B","PublicKey":{"CurveType":"ed25519","PublicKey":"E005A1D989A98B6A7910DA06A3942158676C83A057C98A08A9B5285E8E960A8B"},"Amount":9999999998}]}]}
{{- end }}
