Skip to content
Snippets Groups Projects
Commit 2795f9d0 authored by Holger's avatar Holger
Browse files

Fix wrong version number in known_chains

parent 01b83c4b
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,10 @@ before transmitting the packed file. Please check the hash-sum after downloading
Changelog
=========
0.19.43
-------
* Fix minimal version in known_chains from 0.0.0 to 0.19.5
0.19.42
-------
* improve parse_body for post()
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.42'
version = '0.19.43'
......@@ -288,6 +288,8 @@ class GrapheneRPC(object):
if v["chain_id"] == chain_id and v["min_version"] <= network_version:
if highest_version_chain is None:
highest_version_chain = v
elif v["min_version"] == '0.19.5' and self.use_condenser:
highest_version_chain = v
elif v["min_version"] == '0.0.0' and self.use_condenser:
highest_version_chain = v
elif v["min_version"] > highest_version_chain["min_version"] and not self.use_condenser:
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.42'
version = '0.19.43'
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.42'
version = '0.19.43'
......@@ -16,7 +16,7 @@ known_chains = {
},
"STEEM": {
"chain_id": "0" * int(256 / 4),
"min_version": '0.0.0',
"min_version": '0.19.5',
"prefix": "STM",
"chain_assets": [
{"asset": "SBD", "symbol": "SBD", "precision": 3, "id": 0},
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.42'
version = '0.19.43'
......@@ -16,7 +16,7 @@ except LookupError:
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
VERSION = '0.19.42'
VERSION = '0.19.43'
tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']
......
......@@ -14,8 +14,8 @@ from beemapi.rpcutils import (
class Testcases(unittest.TestCase):
def test_is_network_appbase_ready(self):
self.assertTrue(is_network_appbase_ready({'STEEM_BLOCKCHAIN_VERSION': '0.19.4'}))
self.assertTrue(is_network_appbase_ready({'STEEMIT_BLOCKCHAIN_VERSION': '0.19.4'}))
self.assertTrue(is_network_appbase_ready({'STEEM_BLOCKCHAIN_VERSION': '0.19.10'}))
self.assertTrue(is_network_appbase_ready({'STEEMIT_BLOCKCHAIN_VERSION': '0.19.10'}))
self.assertFalse(is_network_appbase_ready({'STEEM_BLOCKCHAIN_VERSION': '0.19.2'}))
self.assertFalse(is_network_appbase_ready({'STEEM_BLOCKCHAIN_VERSION': '0.19.2'}))
......
......@@ -61,7 +61,7 @@ class Testcases(unittest.TestCase):
def test_non_appbase(self):
bts = self.bts
self.assertTrue(bts.chain_params['min_version'] == '0.0.0')
self.assertTrue(bts.chain_params['min_version'] == '0.19.5')
self.assertFalse(bts.rpc.get_use_appbase())
self.assertTrue(isinstance(bts.rpc.get_config(api="database"), dict))
with self.assertRaises(
......@@ -71,7 +71,7 @@ class Testcases(unittest.TestCase):
def test_appbase(self):
bts = self.appbase
self.assertTrue(bts.chain_params['min_version'] == '0.19.4')
self.assertTrue(bts.chain_params['min_version'] == '0.19.10')
self.assertTrue(bts.rpc.get_use_appbase())
self.assertTrue(isinstance(bts.rpc.get_config(api="database"), dict))
with self.assertRaises(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment