2.0.6808
2.0.6808
DAPP Token Inflation Tuning
it is now possible for the community to actively tune the DAPP Token Inflation rate
this inflation tuning is facilitated by DSP's creating new packages that have a configurable desired inflation rate. any changes to the DAPP Token's inflation rate is in effect for all providers
all existing packages retain the default annual inflation rate of 2.71%
a new package may select any rate between 0.0 and 5.0%
DAPP Token holders participate in the tuning mechanism by staking to packages that have an inflation rate they support
the final inflation rate is calculated as a weighted average of DAPP staked to specific inflation rates
a new table
packagexthas been added to store a packages selected inflation rate and quota cost for actions, which is indexed bypackage_id,service, andproviderthe DAPP token inflation rate is recalculated with every
stakeandrefundactionpackage inflation rates may not be changed after they are registered
breaking changes
to use new dfuse push_transaction, must compile consumer contract with new version of dappservices contract
if DSP package is not enabled in package table, signaled with boolean "1", then service will throw error on DSP, DSP package may be enabled with the
enablepkgcommand: https://bloks.io/account/dappservices?loadContract=true&tab=Actions&account=dappservices&scope=dappservices&limit=100&action=enablepkg
add CoVax chain section for becoming BP or DSP
add example chains section of LiquidX chains
add EOS Block Producer Benchmarks | courtesy of Aloha EOS
use eos 2.0.5
update documentation to support
zeus_boxesrefactoradd
chain-threads=8eos-vm-oc-compile-threads=2to nodeos exampleconfig.iniin docsupdate LiquidAccounts section
update LiquidVRAM section
add
get_table_packagextandget_table_packagext_by_package_service_providerto dapp-client sectionadd
http-max-response-time-ms = 500to config.ini settings to avoiddeadline 2020-07-20T18:07:39.110 exceeded by 10userroradd supported primary key types for
dapp::advanced_multi_indexadd example of instantiating
dapp::advanced_multi_indexsupport new Kylin account creation query
use 8887 instead of 8889 for state history port to match DSP docs
skip
01-dapp-client.jsif builtadd price feed example, price feed uses LiquidHarmony's oracles and LiquidScheduler's cron to fetch a price periodically and only use CPU when the price has changed from the last recorded price by more or less than 1%
add
'--eos-vm-oc-compile-threads=4'and--chain-threads=4to local nodeosupdate
zeusto modularize logic intozeus_boxesdirectory makingzeusmore likenpm, to create or unbox a new box start withzeus box create [name]then if you wish to unbox and existing boxzeus unbox <BOX>zeus now offers versioning of boxes
zeus now offers optional
zeus unbox <BOX>@[VERSION]can add and remove boxes with
zeus box add <BOX> [VERSION] [URI]zeus box remove <BOX> [VERSION]to update an existing box, run
zeus unbox <BOX>@[VERSION], if no version specified, latest used, will unbox everything again with new versionto only add new boxes, unbox after update with
--no-update
add
zeus start-localenv --phase 01-dapp-client--phase option to target start a specific phase of the localenvfixes
if Mac, detect and skip
--eos-vm-oc-enableflags as they are not supportedfix endpoint link for
replay-contract.jsfile
document ability to use dfuse for cleanup script
add typescript compile step for dfuse
add
zeus box createsection to zeus getting started sectionupdate LiquidStorage upload file example with new params
add
eth_keys_per_consumer = [{ETH_PRIVATE_KEY_CONSUMER1:PRIVATE_KEY_HERE}, {ETH_PRIVATE_KEY_CONSUMER2:PRIVATE_KEY_HERE}]to tomlprevent non-broadcast action from being broadcast
add sidechain section to replay contract
add
testfetchprice feed action / unit test for only using LiquidHarmony oracles for price feed fetchadd unit test for 0s unstake time dappservices
copy contracts and test folder to root so that
zeus_boxesdirectory can be git ignoredadd
enablepkgcommand to dappservices unit testsfixes
add
parseFloattotest rewardsdappservicesunit test
add option to use dfuse web socket and dfuse push_transaction guarantee in place of demux state history node on main DSP instance and supported side chains
this enables a DSP to not use a SHiP node and to instead read on chain events from dfuse and to push transactions using dfuse's push_guarantee making transactions more reliable, a free API key is suitable enough to support low levels of traffic
to use the dfuse backend, under the new dfuse section of the toml file, set
enableto true and provide an api keyto use the dfuse push guarantee, set the
push_enableto true and provide a dfuse api keyto use both, enable both
add dfuse section
networkto toml, select supported dfuse network: testnet (eosio testnet), kylin, worbli, waxadd
debugto dfuse section to enable dfuse debug logs
if dsp
head_blockset to 0, dsp will pull head block fromget_infoRPC call automatically for demuxthrow error if package not enabled for DSP services
enable cleanup script support for sidechain
add
authorizationoption under dfuse to use the EOS Nation community edition: https://t.me/dfusece | https://eos.dfuse.eosnation.io/add
replay-contract-hyperion.js| thank you to Christoph Micheladd
max_request_retriesoption to config.toml, specifies how many times to retry a blocking DSP actions such as an IPFS warmup or oracle requestadd
liquidstorage_upload_limitto config.toml, allows specification of Liquidstorage upload size limitadd https://www.npmjs.com/package/eosio-push-guarantee to DSP eos-wrapper.js
fixes
add better error handling to CONFIRMING USAGE
fix async/await procesFn issue
fix replay contract script to enable DSPs to replay contract vRAM/IPFS data to populate a new IPFS instance
fix
0xANONpayer empty object issue
patch new secondary index RPC API support
updated Dapp Client to support cross chain Liquid Accounts
add dfuse as option for dapp client, able to pass API key, push guarantee, and network
add push_transaction push guarantee function to lib
dappservices contract
added required service pending console output to assertion message as dfuse does not return pending console output
added always false assert service pending console output to assertion message as dfuse does not return pending console output
DSP Services:
add cross chain support for LiquidAccounts using LiquidX
add time to live option for zeus vaccounts push-action command
add small / large photo and small video upload and read unit tests to LiquidStorage
configure options object to be passed, updated unit test
add optional
rawLeavesIPFS client option for backend API, example, andclient-library
run exponential backoff forever, was 10 retries max
add
shouldAborteosio::checkhandler for rescheduling cron without CPU
patch new secondary index RPC API support
updated Dapp Client to support cross chain Liquid Accounts
add
get_table_packagextandget_table_packagext_by_package_service_providerexamples and logic to client
Last updated
Was this helpful?