2.0.4719
2.0.4719
add new service responses and requests when
#define USE_ADVANCED_IPFSis usedadd warmuprow and cleanuprow, these allow for more efficient loading and cleaning of vram shard information
add warmupcode, which allows for vram to be accessed from external contracts and third party DSPs
warmupcode is used automatically when required when the
codespecified in a multi-index table is something other thanself
add ability for a contract to use vaccounts from another contract when
#define VACCOUNTS_SUBSCRIBERis usedxvinit argument is replaced in this case with a name (instead of a chainid)
xvinit must be used to set the name of the contract providing vaccounts functionality
contract using vaccounts_subscriber must be staked to a DSP, but does not have to be same DSP that the vaccounts host contract is staked to -fixes
fixed issue where vaccount push requests are not forwarded to a staked provider
update get table row secodary index changes in 2.0
cease support for pre nodeos 2.0 nodes
added max pending messages for demux to prevent memory crashes
fixed demux get starting block logic, added possibility for head block
expose
DEMUX_MAX_PENDING_MESSAGESin toml file to set pending messages from demux web socket to process before disconnecting to allow pending messages to process. Behavior is once max pending messages amount hit to disconnect websocket until 50% of messages are processed, then reconnect to continue processing.fixes
fix demux head block handler using brackets
support new
/v1/chain/send_transactionendpoint in addition to/v1/chain/push_transaction
split mapping into builtin and local file stored in ~/.zeus/ storage directory
boxes added to the mapping using zeus deploy box and zeus box add go to the local mapping file to persist between zeus updates
when unboxing a box found in both files, the local mapping is given priority, but a warning is displayed
added zeus box remove command to remove boxes from the local mapping
added RC file ignore flag –rc-ignore to bypass it | thank you prcolaco
Example zeusrc.json:
{
"verbose": true,
"type": "local",
"update-mapping": true,
"test": true
}added utility/tool for deserializing
xvexecdata (vaccount action data) Example:deserializeVactionPayload('dappaccoun.t', '6136465e000000002a00000000000000aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e90600000000000000008090d9572d3ccdcd002370ae375c19feaa49e0d336557df8aa49010000000000000004454f5300000000026869', 'https://mainnet.eos.dfuse.io')returns
{
"payload":{
"expiry":"1581659745",
"nonce":"42",
"chainid":"ACA376F206B8FC25A6ED44DBDC66547C36C6C33E3A119FFBEAEF943642F0E906",
"action":{
"account":"",
"action_name":"transfervacc",
"authorization":[
],
"action_data":"70AE375C19FEAA49E0D336557DF8AA49010000000000000004454F5300000000026869"
}
},
"deserializedAction":{
"payload":{
"vaccount":"dapjwaewayrb",
"to":"dapjkzepavdy",
"quantity":"0.0001 EOS",
"memo":"hi"
}
}
}add RC file to load regular zeus-cmd options from, on ~/.zeus/zeusrc.json by default, changeable with –rc-file option | thank you prcolaco
zeus create contract <MY_CONTRACT>now createsMY_CONTRACT.cppinstead ofmain.cpp, update cmake to useMY_CONTRACT.cppuse v2.0.4 nodeos
fixes
fix portfolio app requesting new oracle entries twice on load
fix portfolio app double adding eos token balances
Read past end of buffer- The issue was that an additional parameter was added to IPFS warmup to enable new functionality. This caused a conflict for pre-existing contracts attempting to warmup IPFS data. The parameter was removed.fixed and refactored
get-tableutility to work with new dsp api (get_uri) and nodeos >= 2.0.0.
update to using nodeos v2+, pre 2.0 no longer supported
add
developers/contract-logssection and add details on DSP logsadd
/liquidx/models/eosio-chains/${CHAIN_ACCOUNT}.jsonsection to consumer liquidx docs
Service contracts and service contract mapping no longer mandatory
If a service contract is not mapped, it will default to the same name as the mainnet
Moved quota calculation logic into dappservices
Deprecated individual service contracts for quota management, i.e.
ipfsservice1,cronservices, etcProviders that have already registered packages will have their RAM freed using a new
freeprovider(provider)action
billing will default to 0.0001 QUOTA for all actions
This allows for new actions to be added to services
use
pricepkgaction to price action in quotaadd @eosio.code note for dappservicex and consumer contracts in liquidx section
Added unauthenticated
get_uriapi endpoint.
LiquidStorage for LiquidAccounts PR - thank you https://github.com/MrToph
Added
public_upload_vaccountendpoint. This endpoint can be used directly from the frontend by vaccounts. The vaccount signs the file to upload, sends it to the DSP, which verifies and stores the file. Optionally, it does some additional quota checks defined by the consumer contract: It can define max file sizes, daily global upload limits, and daily limits on a per vaccount level.Added a
storageconsumercontract testing the vaccount uploads + limits checking.Refactored the
upload_publicendpoint to acommon.jsfile as most functionality is now also required by the newupload_public_vaccountendpoint.Added two quick-fix options
externalandboxto thesync-builtin-boxescommand, because it did not work with the public zeus-sdk repo. External should be set to true when using the public repo. The default args are chosen in a way that they shouldn’t change anything if invoked as usual.changed the uploads to use base64 encoding instead of hex (in both dapp-client and server) to save some bandwidth. Fixed the bytelength quota calculation
Disable vaccount archive upload
Use base64 as encoding for archive as well to match other encodings.
Support public archive upload in dapp-client lib
fixes
Fix archive upload test
Special thank you to Michael of the EOSUSA team for helping us test and deploy LiquidX
Last updated
Was this helpful?