2.0.4002
2.0.4002
Backwards Compatability Warning
To Support new features some schema changes have taken place
If you already have a vram contract in production, it is recommended that you do not use the changes
Migration details and tools will be provided at a later time
To use the new features place
#define USE_ADVANCED_IPFSat the start of your contract
New Advanced Multi Index features
Primary key may be
uint32,uint64,uint128, andchecksum256Ability to backup, restore, and clear vram datasets with versioning
@liquidapps/dsp - 2.0.4002-latest
add DSP console log in
common.jsif minimum stake threshold not met for account’s DAPP stake to DSP’s service packageadd reconnect mechanism to demux nodeos websocket
update eos 1.8.7 nodeos
add
keysizesupport to the ipfsindex.jsfileadd
DSP_CONSUMER_PAYSlogic toconfig.toml, if true throws error if DSP permission not setupadd
DEMUX_BYPASS_DATABASE_HEAD_BLOCKtoconfig.toml, if true bypasses database last processed block as head block and usesconfig.tomlhead blockadd
LIQUIDX_CONTRACTtoconfig.toml, points to EOS mainnet account that hosts theliquidxcontractadd
[sidechains]section toconfig.tomladd
liquidxability to offer service to other eosio based chains while using the EOS mainnet for staking, billing, and claim rewardsfixes
add custom permissions for xcallback in generic-dapp-service-node file
fix cron reschedule on error, use
nextTrySecondstimeNODEOS_SECURED,DSP_CONSUMER_PAYS,DEMUX_BYPASS_DATABASE_HEAD_BLOCK, accepted as bool or string when passed from toml, toml passes bools as strings, if set as an env variable manually, will accept as a bool
@liquidapps/zeus-cmd - 2.0.4002
add
--type=localflag tozeus deploy boxcommand: deploys boxes locally to~/.zeus/boxes/instead ofIPFSors3. Must use with the--update-mappingflag. Together both flags (zeus deploy box --type=local --update-mapping) updates themapping.jsonfile withfile://.. as the pointer | thank you prcolacomade
--type=localand--update-mappingflags default forzeus deploy boxcommandonly use invalidation of ipfs with
zeus deploy boxcommand when the--typeisipfs| thank you prcolacomodified and fixed ipfs cleanup script to support oracle cleanups
allow
zeus compile <CONTRACT_NAME>, zeus now allows you to only compile a contract by its name if you like, or you can runzeus compileto run alladd
kill-portnpm dependency toeos-extensionsboxmove
ipfs-daemondependency fromboxes/groups/core/build-extensions/zeus-box.jsontoboxes/groups/dapp-network/dapp-services/zeus-box.jsonasIPFSis only needed with thedapp-servicesboxadd
utils/ipfs-service/get-table.js- Reads all vRAM tables of a smart contract and stores them with the naming syntax:${contract_name}-${table_name}-table.jsonadd
utils/ipfs-service/get-ordered-keys.js- Prints ordered vRAM table keys in ascending order account/table/scope. This can be used to iterate over the entire table client sideallow
zeus test <CONTRACT_NAME>, zeus now allows you to only compile/test a contract by its name if you like, or you can runzeus test -cto compile/test alladd
zeus vaccounts push-action test1v regaccount '{"vaccount":"vaccount1"}'add ability to import/export LiquidAccount keys
implement storage
dapp-clientinto storage service teststorage-dapp-service/test/storage.spec.jsbuild
dapp-clientfrom source instead of installing by adding step tostart-localenvuse base58 instead of default base32 for LiquidStorage’s
ipfs.files.addto match ipfs serviceadd
zeus test -calias to compile all contracts,zeus testnow does not compile by defaultImplementing reset, load, and save functionality for multi-index tables
save: add
zeus backup-tablecommand which callszeus/boxes/groups/services/ipfs-dapp-service/utils/ipfs-service/backup.jsto backup adapp::multi_indextableadd manifest table to
advanced_multi_index.hppwhich provides the sharding details for a table, includes params:checksum256 next_available_key,uint32_t shards,uint32_t buckets_per_shard, andstd::map<uint64_t,std::vector<char>> shardbucketsadd backup table to
advanced_multi_index.hppwhich provides the manifest details, includes params:uint64_t id,ipfsmultihash_t manifest_uri,time_point timestamp, andstring descriptionadd the following actions to the ipfsconsumer example contract:
testman- load a manifesttestclear- incrementing table version and clear theshardsandbuckets_per_shardparamstestbig- tests storing an entry with achecksum256primary key and stores auint64_ttest numbercheckbig- checks entrychecksum256primary key returns correct value of test numbertestmed- tests storing an entry with auint128_tprimary key and stores auint64_ttest numbercheckmed- checks entryuint128_tprimary key returns correct value value of test numbertestindex- tests storing an entry with auint64_tprimary key and stores auint64_ttest numbertestfind- checks entryuint64_tprimary key returns correct value value of test number
add following tables to ipfsconsumer example contract:
bigentry- uses achecksum256primary key,medentry- uses auint128_tprimary keyadd
keysizeas parameter forzeus get-table-rowcommand, options:64 (uint64_t), 128 (uint128_t), 256 (uint256_t) and hex (eosio::checksum256)added the following unit tests:
dapp::multi_index checksum256 Get Available Key,IPFS Save Manifest,IPFS Clear,IPFS Load Manifest, andIPFS cache cleaned after write
add
vmanifesttable,getRawTreeDataandgetTreeDatafunctions, andwarmuprowandcleanuprowservice responses to_ipfs_impl.hppfileadded new service request types
warmuprow,cleanuprowto the ipfs serviceutilize over-eager loading in
dapp::multi_indexviawarmuprowto reduce vRam latency by attempting to load all required data in a single actionupdate coldtoken unit tests to reflect new decrease in latency
moved nodeos.log to /logs folder
tail last 1mb of nodeos.log folder to keep upon restarting zeus test
flag ipfsentries as pending commit to prevent duplicate requests
If a contract uses a shardbucket multiple times, it will only have unique commits
If multiple actions in the same block (or prior to the
xcommit) need to lookup the same shardbucket, there will be a single unique commit, and no additional warmups requiredIf a contract uses a delayed commit, this delayed commit won’t be overwritten by an immediate commit
update eosio.cdt to default to 1.6.3 if not installed
add
zeus box createandzeus box addcommandsadd
--sidechains ['{sidechain_provider:"dspnameeeeee",service_contract:"ipfservice2",nodeos_endpoint:"https://api.jungle.alohaeos.com:443",active_key:""}','{ ... another sidechain object }']option tozeus register dapp-service-provider-package"to regprovider with sidechainsadd
zeus compile --sidechain=mychainnameeflag to compile a side chain name when using liquidxuse gateway port (3115) instead of service port (e.g.
13112oracles) when running local zeus testsadd
liquidjunglebox with/models/liquid-mappingsfor DSP files, service files, and thedappservices:dappservicexmapping as well as/models/eosio-chainsliquidjungle.jsonchain config fileadd
dappservicex(DAPP service contract for new chain) andliquidx(DAPP service contract for EOS mainnet)rename all instances of
local-sidechainstoeosio-chainsupdate eos to default to 1.8.7 if not installed
fixes
update example frontend to eosjs2 and latest scatter
update cleanup script to work with new dsp logic
add CONTRACT_END syntax to example contract
fix cardgame unit test
use dapp-client for vaccounts
move xvinit for vaccounts to happen in migration
add xvinit to coldtoken contract
update to eosj2
fix chess.json to enable migration by updating contract / account
fix OSX
zeus deploy boxbreaking issueremove prints from vaccount code to prevent
required serviceerrorremove
all-dapp-servicesbox fromtemplates-emptycontract-eos-cpp(zeus create contract)Remove Babel as a dependency from zeus-cmd and all zeus boxes
add sub prefix to local unit test localenv files, i.e.,
20-eos-local-dapp-services.js → 20-a-eos-local-dapp-services.js,20-eos-local-sidechains-dapp-services.js → 20-b-eos-eosio-chains-dapp-services.js
@liquidapps/dapp-client - 2.0.4002
add
keysizeas argument for get vram row command, options:64 (uint64_t), 128 (uint128_t), 256 (uint256_t) and hex (eosio::checksum256)add support for
vconfigfile,warmuprowandcleanuprowactions in node logic to support faster data warmupsfixes
add fix text encode/decode in vaccounts service
removed
read-mode = headfrom defaultconfig.inisetup for eosio nodeclarified
wasm-runtime = wabtmust be used overwasm-runtime = wavmdue to bugs inwavmadd
zeus compile <CONTRACT_NAME>syntax to zeus-getting-startedupdate path for
cleanup.jsscript for DSPsadd cleanup oracle info to Cleanup IPFS and Oracle Entries
fixed little mistakes in vram-getting-started
added usage docs for
get-tableandget-ordered-keysupdate
chain-state-db-size-mbfrom131072to16384see hereupdate eos 1.8.7 nodeos
update cardgame link to: http://elemental.liquidapps.io/
update vram getting started section with new
get-table-rowsyntaxadd info on how to save load and clear a
dapp::multi_indextableadd
macrossection to developer docsadd
docs/liquidx/add-a-chainsectionadd
docs/liquidx/become-a-dspsectionadd
docs/liquidx/getting-startedsectionadd
docs/liquidx/use-servicessection
add usagex for LiquidX and other off chain service billing LiquidStorage, LiquidLens, LiquidAuth
contract pays for CPU/NET/RAM associated with xactions
xwarmup,xsignal,xcommit,xdcommit,xvexec, etcfixes
add DAPP token assertion to
regpkgcommand to ensure DAPP symbol and 4 decimals of precision used
Last updated
Was this helpful?