Skip to content

Commit

Permalink
Release 2.3.2 (#274)
Browse files Browse the repository at this point in the history
* Realign/2.3.1 (#270)

* Adjust version to `2.2.1-next`
Adjust `changelog`

* More for `CHANGELOG`

* fix typo

* fix linter error

* trigger jenkins

* bump version in package and CHANGELOG

* Add info to `CHANGELOG`

* force Jenkins

* bump version in package
update CHANGELOG

* Adjust CHANGELOG

* fix text

* forgotten generated docs

* bump version

* CHANGELOG

* trigger Jenkins

* Fix/example app (#271)

* Fix min gasPrice for contract
Change node version in `.env` to `v2.0.0`

* Fix `aepp` example app

* Force image pull before builds

* debug Jenkins

* fix contract tests

* bump version
add 2.3.2 to CHANGELOG

* adjust CHANGELOG

* Trigger Jenkins

* debug Jenkins

* revert debug
  • Loading branch information
nduchak authored Mar 4, 2019
1 parent a18e448 commit f7f9597
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
TAG=minerva
TAG=v2.0.0
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. This change
log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [2.3.2]
### Added
- none

### Changed
- Change default `gasPrice` from `1e6` to `1e9z
- Fix `AEPP` example app
- Force `image` pull before `builds`

### Removed
- none

### Breaking Changes
- none

### Notes and known Issues
- none

## [2.3.1]
### Added
- `Oracle` fee calculation
Expand Down Expand Up @@ -544,5 +562,5 @@ log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
[2.2.1-next]: https://github.com/aeternity/aepp-sdk-js/compare/2.1.1-0.1.0-next...2.2.1-next
[2.3.0-next]: https://github.com/aeternity/aepp-sdk-js/compare/2.2.1-next...2.3.0-next
[2.3.0]: https://github.com/aeternity/aepp-sdk-js/compare/2.3.0-next...2.3.0
[2.3.0]: https://github.com/aeternity/aepp-sdk-js/compare/2.3.0...2.3.1

[2.3.1]: https://github.com/aeternity/aepp-sdk-js/compare/2.3.0...2.3.1
[2.3.2]: https://github.com/aeternity/aepp-sdk-js/compare/2.3.1...2.3.2
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'genesis-wallet',
usernameVariable: 'WALLET_PUB',
passwordVariable: 'WALLET_PRIV')]) {
sh 'docker-compose -H localhost:2376 pull node'
sh 'docker-compose -H localhost:2376 build'
sh 'docker-compose -H localhost:2376 run sdk pnpm run test-jenkins'
}
Expand Down
2 changes: 1 addition & 1 deletion es/ae/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const Contract = Ae.compose({
defaults: {
deposit: 0,
vmVersion: 1,
gasPrice: 1000000, // min gasPrice 1e6
gasPrice: 1000000000, // min gasPrice 1e9
amount: 0,
gas: 1600000 - 21000,
options: ''
Expand Down
2 changes: 1 addition & 1 deletion es/tx/tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { buildContractId, oracleQueryId } from './builder/helpers'

const ORACLE_VM_VERSION = 0
const CONTRACT_VM_VERSION = 1
const MIN_GAS_PRICE = 1000000 // min gasPrice 1e6
const MIN_GAS_PRICE = 1000000000 // min gasPrice 1e9
// TODO This values using as default for minerva node
const CONTRACT_MINERVA_VM_ABI = 196609
const CONTRACT_MINERVA_VM = 3
Expand Down
13 changes: 7 additions & 6 deletions examples/connect-two-ae/identity/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ export default {
components: {},
data () {
return {
pub: 'ak_6A2vcm1Sz6aqJezkLCssUXcyZTX7X8D5UwbuS2fRJr9KkYpRU',
priv: 'a7a695f999b1872acb13d5b63a830a8ee060ba688a478a08c6e65dfad8a01cd70bb4ed7927f97b51e1bcb5e1340d12335b2a2b12c8bc5221d63c4bcb39d41e61',
pub: 'ak_6A2vcm1Sz6aqJezkLCssUXcyZTX7X8D5UwbuS2fRJr9KkYpRU', // Your public key
priv: 'a7a695f999b1872acb13d5b63a830a8ee060ba688a478a08c6e65dfad8a01cd70bb4ed7927f97b51e1bcb5e1340d12335b2a2b12c8bc5221d63c4bcb39d41e61', // Your private key
client: null,
wallet: null,
balance: null,
height: null,
url: 'https://sdk-mainnet.aepps.com',
internalUrl: 'https://sdk-mainnet.aepps.com',
aeppUrl: '//0.0.0.0:9001'
}
},
Expand All @@ -69,15 +71,14 @@ export default {
window.addEventListener('message', console.log, false)
Wallet({
url: 'https://sdk-mainnet.aepps.com',
internalUrl: 'https://sdk-mainnet.aepps.com',
url: this.url,
internalUrl: this.internalUrl,
accounts: [MemoryAccount({keypair: {secretKey: this.priv, publicKey: this.pub}})],
address: this.pub,
onTx: this.confirmDialog,
onChain: this.confirmDialog,
onAccount: this.confirmDialog,
onContract: this.confirmDialog,
networkId: 'ae_mainnet'
onContract: this.confirmDialog
}).then(ae => {
this.client = ae
console.log('status', this.client.api.getTopBlock())
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aeternity/aepp-sdk",
"version": "2.3.1",
"version": "2.3.2",
"description": "SDK for the æternity blockchain",
"main": "dist/aepp-sdk.js",
"browser": "dist/aepp-sdk.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract Identity =
`
let contractId
const deposit = 4
const gasPrice = 1000000
const gasPrice = 1000000000
const gas = 1600000 - 21000 // MAX GAS

let _salt
Expand Down

0 comments on commit f7f9597

Please sign in to comment.