Skip to content

Commit

Permalink
Merge branch 'main' of github.com:entropyxyz/sdk into mixmix/quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Oct 23, 2024
2 parents 0d0f559 + 1500298 commit bae3b08
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ Version header format: `[version] Name - year-month-day (entropy-core compatibil

## [UNRELEASED]

### Added

### Fixed

### Changed

### Broke

### Dev

### Meta

## [0.3.0] Echo - 2024-10-23 (entropy-core compatibility: 0.3.0)

### Added
- `configurationSchema` & `auxiliaryDataSchema` to `ProgramInterface`
- added new testing function `jumpStartNetwork(entropy: Entropy) => Promise<undefined>` This function must be called now with a funded key to kick off the network. **It will not work for networks with less then 4 validators**
Expand All @@ -33,7 +47,8 @@ Version header format: `[version] Name - year-month-day (entropy-core compatibil

### Dev
- update core version: v0.3.0
-
- `CharlieStash` should no longer be used in dev environments use `eve` see sdk test
- warning logs from polkadot js should be quieter

## [0.2.3] Cybele - 2024-07-24 (entropy-core compatibility: 0.2.0)

Expand Down
2 changes: 1 addition & 1 deletion dev/bin/ENTROPY_CORE_VERSION.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /usr/bin/env bash

export ENTROPY_CORE_VERSION=release-v0.3.0-rc.1
export ENTROPY_CORE_VERSION=release-v0.3.0
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@entropyxyz/sdk",
"version": "0.2.3",
"version": "0.3.0",
"license": "AGPL-3.0-only",
"description": "JS SDK for entropy blockchain ",
"type": "module",
Expand Down Expand Up @@ -64,6 +64,7 @@
"postinstall": "patch-package",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"publish:rc": "yarn burn && yarn build && npm publish --tag next",
"removedb": "./dev/bin/remove-db.sh"
},
"repository": {
Expand Down
7 changes: 3 additions & 4 deletions src/signing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,10 @@ export default class SignatureRequestManager {

async submitTransactionRequest (message: EncMsg): Promise<string[][]> {
// Extract the required fields from parsedMsg
const payload = JSON.parse(message.msg)
const sigProof = (await sendHttpPost(
const sigProof = await sendHttpPost(
`http://${message.url}/user/relay_tx`,
JSON.stringify(payload)
))
message.msg
)
return sigProof
}

Expand Down
1 change: 0 additions & 1 deletion tests/transfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ test('Transfer', async (t) => {
endpoint: 'ws://127.0.0.1:9944',
})
await run('eve ready', eve.ready)
await run('jump-start network', jumpStartNetwork(eve))

const naynaySeed = createSeed()
const naynayKeyring = new Keyring({ seed: naynaySeed, debug: true })
Expand Down

0 comments on commit bae3b08

Please sign in to comment.