Problems: list is jumping after making a change

I have a long list of problems and want to go through each of them. If I edit the file of the current result and jump back to the result list, the list jumps:

The way I got to the list is by:

enable "noImplicitReturns": true in tsconfig.json inside the src folder
build from within VS Code

This is happening because of auto reveal is enabled. Since there is a change in markers data auto reveal is getting triggered. I am triggering auto reveal when

Markers panel is opened/focussed
Filter in Markers panel is changed
Editor is changed
When markers data is changed

It makes sense in all first three cases but it is bit aggressive during last case. During last case, I should only do auto trigger if the current active file got added to markers data which helps user as it was not there before


Appending headers in mapproxy response

Coverage increased (+0.03%) to 98.056% when pulling 0a3796d6ef75737b9f54da24b791abc9ec485f54 on JorgeMartinezG:mapproxy_headers into a15be9959bc6e7e686431f22220402bc09838fd3 on boundlessgeo:master.

Coverage increased (+0.04%) to 98.066% when pulling 7d2277c0cef1fbc0c887dda8842a66135f2c1fa0 on JorgeMartinezG:mapproxy_headers into a15be9959bc6e7e686431f22220402bc09838fd3 on boundlessgeo:master.


YouTube-DL hangs, times out when trying to download or retrieve direct URLs

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.04.06. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.04.06

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

I tried to download a music video from YouTube last night that I wanted to extract the audio from (it's not a Vevo one or anything, actually an old song that someone just stuck lyrics onto) at here
https://www.youtube.com/watch?v=MBgQ5ZiphUs
It hangs at showing the Python version, which is 2.7.10, and then gives a timeout error. The same thing happened to me just now when I was trying to extract a URL from a Comedy Central Daily Show video. The log is included here:
C:\youtube-dl>youtube-dl --verbose -g http://thedailyshow.cc.com/videos/1q93jy/september-11--2001
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-g', u'http://thedailyshow.cc.com/videos/1q93jy/september-11--2001']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.10 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-78335-g9ee4c89, ffprobe N-78335-g9ee4c89, rtmpdump 2.4
[debug] Proxy map: {'ftp': 'ftp://localhost:21320', 'http': 'http://localhost:21320', 'https': 'https://localhost:21320'}
ERROR: Unable to download webpage: timed out (caused by timeout('timed out',))
  File "youtube_dl\extractor\common.pyo", line 371, in _request_webpage
  File "youtube_dl\YoutubeDL.pyo", line 1935, in urlopen
  File "urllib2.pyo", line 431, in open
  File "urllib2.pyo", line 449, in _open
  File "urllib2.pyo", line 409, in _call_chain
  File "youtube_dl\utils.pyo", line 750, in http_open
  File "urllib2.pyo", line 1200, in do_open
  File "httplib.pyo", line 1132, in getresponse
  File "httplib.pyo", line 453, in begin
  File "httplib.pyo", line 409, in _read_status
  File "socket.pyo", line 480, in readline

The timeout error was the same with the YouTube video. What's going on? I've been able to download from YouTube and from Comedy Central plenty of times before. Is there any reason why youtube-dl would be hanging and then giving a timeout error with this new version? I can navigate to Comedy Central and YouTube themselves in my web browser, but can't download from them with youtube-dl. Any assistance you can provide would be greatly appreciated.

Most likely this is due to your proxy.

I don't have a proxy, though. I'm in the U.S. on Verizon DSL 1.5m/768k, so I know it's not because of geo-blocking. I don't have a firewall program either.
How could youtube-dl be using a proxy if I don't have one, either on my system or in my normal web browser?

You have.

[debug] Proxy map: {'ftp': 'ftp://localhost:21320', 'http': 'http://localhost:21320', 'https': 'https://localhost:21320'}

Remove it from env variables.

OK, I found what was happening. I'm using Spybot Search & Destroy and for some reason it uses its own proxy as part of the Internet protection feature. Had no idea that it even had that as part of it. Thanks for pointing that out :)


Use te_manager delete_connection

Use te_manager delete_connection instead of unreserve_vlan.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.396%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1086

Relevant Lines:
1917

💛  - Coveralls


How to run integration tests?

It seems that the lib is broken with the latest master of Eos.
I wanted to run all the integration tests to confirm but I could not find the documentation. How can I run them?
I noticed some tests are run only under certain conditions ( https://github.com/EOSIO/eosjs/blob/3a76b24e24dc9a8de3da6893337d0d3df7a577fb/src/index.test.js#L49 )

NODE_ENV=development npm run test should do it.

The current master version here works with the 2.0 release of eos.  If you want to work with master you need to use the dawn3 branch of eosjs.

For dawn3 (github/eosio/eos master) this should setup your local node for the test.  The exchange account and contract below is not needed but it is find to leave them in there.

./data-dir/genesis.json

{
    "initial_key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
    "initial_timestamp": "2017-03-30T12:00:00",
    "initial_parameters": {
      "maintenance_interval": 86400,
      "maintenance_skip_slots": 3,
      "maximum_transaction_size": 2048,
      "maximum_block_size":<PHONE_NUMBER>,
      "maximum_time_until_expiration": 86400,
      "maximum_producer_count": 1001
    },
    "immutable_parameters": {
      "min_producer_count": 21
    },
    "initial_chain_id": "0000000000000000000000000000000000000000000000000000000000000000"
}

data-dir/config.ini

# Track only transactions whose scopes involve the listed accounts. Default is to track all transactions.
# filter_on_accounts =

# Limits the maximum time (in milliseconds) processing a single get_transactions call.
get-transactions-time-limit = 3

# File to read Genesis State from
 genesis-json = ./genesis.json

# override the initial timestamp in the Genesis State file
# genesis-timestamp =

# the location of the block log (absolute path or relative to application data dir)
block-log-dir = "blocks"

# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =

# the location of the chain shared memory files (absolute path or relative to application data dir)
shared-file-dir = "blockchain"

# Minimum size MB of database shared memory file
shared-file-size = 8192

# The local IP and port to listen for incoming http connections.
http-server-address = <IP_ADDRESS>:8888

# Specify the Access-Control-Allow-Origin to be returned on each request.
# access-control-allow-origin =

# Specify the Access-Control-Allow-Headers to be returned on each request.
# access-control-allow-headers =

# Specify if Access-Control-Allow-Credentials: true should be returned on each request.
access-control-allow-credentials = false

# The actual host:port used to listen for incoming p2p connections.
p2p-listen-endpoint = <IP_ADDRESS>:9876

# An externally accessible host:port for identifying this node. Defaults to p2p-listen-endpoint.
# p2p-server-address =

# The public endpoint of a peer node to connect to. Use multiple p2p-peer-address options as needed to compose a network.
# p2p-peer-address =

# The name supplied to identify this node amongst the peers.
agent-name = "EOS Test Agent"

# True to always send full blocks, false to send block summaries
send-whole-blocks = 1

# Can be 'any' or 'producers' or 'specified' or 'none'. If 'specified', peer-key must be specified at least once. If only 'producers', peer-key is not required. 'producers' and 'specified' may be combined.
allowed-connection = any

# Optional public key of peer allowed to connect.  May be used multiple times.
# peer-key =

# Tuple of [PublicKey, WIF private key] (may specify multiple times)
# peer-private-key =
 # Log level: one of 'all', 'debug', 'info', 'warn', 'error', or 'off'
log-level-net-plugin = info

# Maximum number of clients from which connections are accepted, use 0 for no limit
max-clients = 25

# number of seconds to wait before cleaning up dead connections
connection-cleanup-period = 30

# True to require exact match of peer network version.
network-version-match = 0

# Enable block production, even if the chain is stale.
enable-stale-production = true

# Percent of producers (0-99) that must be participating in order to produce blocks
required-participation = false

# ID of producer controlled by this node (e.g. inita; may specify multiple times)
# producer-name =

# Tuple of [public key, WIF private key] (may specify multiple times)
private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]

# Plugin(s) to enable, may be specified multiple times
# plugin =
# Plugin(s) to enable, may be specified multiple times
plugin = eosio::producer_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::wallet_api_plugin
plugin = eosio::account_history_api_plugin
plugin = eosio::http_plugin
# plugin = eosio::mongo_db_plugin

# Enable block production with the testnet producers
producer-name = eosio

After the build, I create a few links like this in my build release directory (./dawn3 for example):
lrwxrwxrwx  1   30 Jan 30 07:24 eosioc -> ./build/programs/eosioc/eosioc*
lrwxrwxrwx  1   30 Jan 30 07:24 eosiod -> ./build/programs/eosiod/eosiod*

Startup
./eosiod --config-dir ./data-dir

Setup:
./eosioc wallet create
./eosioc wallet unlock <your_wallet_password_here>
./eosioc wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

# create accounts
./eosioc create account eosio currency EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
./eosioc create account eosio exchange EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
./eosioc create account eosio inita EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
./eosioc create account eosio initb EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
./eosioc create account eosio initc EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

# publish smart contracts
./eosioc set contract currency build/contracts/currency/currency.wast build/contracts/currency/currency.abi
./eosioc set contract exchange build/contracts/exchange/exchange.wast build/contracts/exchange/exchange.abi
./eosioc set contract eosio build/contracts/eosio.system/eosio.system.wast build/contracts/eosio.system/eosio.system.abi

# issue new tokens
./eosioc push action eosio issue '{"to":"eosio", "quantity": "1000000000.0000 EOS"}' -p eosio@active
./eosioc push action currency issue '{"to":"currency", "quantity": "1000000000.0000 CUR"}' -p currency@active
./eosioc push action eosio issue '{"to":"inita", "quantity": "1000000000.0000 EOS"}' -p eosio@active
./eosioc push action eosio issue '{"to":"initb", "quantity": "1000000000.0000 EOS"}' -p eosio@active
./eosioc push action eosio issue '{"to":"initc", "quantity": "1000000000.0000 EOS"}' -p eosio@active

In eosjs (equal with no value sets an empty value):
NODE_ENV=development CURRENCY_ABI= npm run test

NODE_ENV=development is used to prevent many tests from running under Travis (no test funds for travis).  At some point, we could perhps setup Travis where it will have a private key that is not visible and has access to some test funds.  After a stable dawn3 release and Testnet would be a good time for that.

Thanks.
I updated a little your script as the currency API changed and implemented a docker image in order to simplify the run of the tests in #31.

I did run the tests and 4 tests are failing with EOS Master:
><EMAIL_ADDRESS>test /home/jeremi/Projects/75-crypto/eosjs
> mocha --use_strict src/*.test.js

  ✓ Transaction ABI lookup (44ms)
  format
    ✓ UDecimalPad
    ✓ UDecimalUnimply
    name
      ✓ isName
      ✓ encode / decode

  version
    ✓ exposes a version number

  offline
    ✓ transaction (1367ms)

  networks
    ✓ testnet

  transactions
CONTRACT
eosio

FUNCTION
transfer

PARAMETERS
{
    "from": "account_name",
    "to": "account_name",
    "quantity": "asset",
    "memo": "string"
}

EXAMPLE
{
    "from": "",
    "to": "",
    "quantity": "0.0001 SYMBOL",
    "memo": ""
}

    ✓ usage
    ✓ keyProvider private key (126ms)
    ✓ keyProvider public keys then private key (226ms)
    ✓ keyProvider from eosjs-keygen (176ms)
    ✓ signProvider (201ms)
api error => http://<IP_ADDRESS>:8888/v1/chain/push_transaction {"compression":"none","data":{"expiration":"2018-03-21T05:46:17","region":0,"ref_block_num":268,"ref_block_prefix":234591557,"packed_bandwidth_words":23,"context_free_cpu_bandwidth":0,"context_free_actions":[],"actions":[{"account":"eosio","name":"newaccount","authorization":[{"actor":"inita","permission":"active"}],"data":"000000000093dd7400000000903246310100000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf01000100000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf01000100000001000000000093dd7400000000a8ed3232010000"}]},"signatures":["EOSKhzyh4y3NGL1zyGSi88Qr9w74Q8Cm5NrYpwaQpEGt6vmvhRKs4sGBG48wDtCveCa8UHYbr2iWhj6gWRCnyYQERuWEWjKjN"]} { Error: {"code":500,"message":"Internal Service Error","error":{"code":10,"name":"assert_exception","message":"Assert Exception","details":"w < count(): ","stack_trace":[{"level":"error","file":"static_variant.hpp","line":344,"method":"set_which","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":614,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"}]}}
    at /home/jeremi/Projects/75-crypto/eosjs/node_modules/eosjs-api/lib/apigen.js:98:23
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) status: 500, statusText: 'Internal Server Error' }
{ Error: {"code":500,"message":"Internal Service Error","error":{"code":10,"name":"assert_exception","message":"Assert Exception","details":"w < count(): ","stack_trace":[{"level":"error","file":"static_variant.hpp","line":344,"method":"set_which","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":614,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"}]}}
    at /home/jeremi/Projects/75-crypto/eosjs/node_modules/eosjs-api/lib/apigen.js:98:23
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) status: 500, statusText: 'Internal Server Error' }
[push_transaction error] '{"code":500,"message":"Internal Service Error","error":{"code":10,"name":"assert_exception","message":"Assert Exception","details":"w < count(): ","stack_trace":[{"level":"error","file":"static_variant.hpp","line":344,"method":"set_which","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":614,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"}]}}', transaction 'a9f1b15a00000c014595fb0d1700000000010000000000ea305500409e9a2264b89a01000000000093dd7400000000a8ed32327c000000000093dd7400000000903246310100000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf01000100000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf01000100000001000000000093dd7400000000a8ed3232010000'
{"code":500,"message":"Internal Service Error","error":{"code":10,"name":"assert_exception","message":"Assert Exception","details":"w < count(): ","stack_trace":[{"level":"error","file":"static_variant.hpp","line":344,"method":"set_which","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":327,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":568,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"},{"level":"warn","file":"raw.hpp","line":614,"method":"unpack","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:18.041"}]}}
    1) newaccount (broadcast)
    ✓ mockTransactions pass (222ms)
[push_transaction mock error] 'fake error', digest 'aaf1b15a00000d018209925e0b00000000010000000000ea3055000000572d3ccdcd01000000000093dd7400000000a8ed323221000000000093dd74000000008093dd74102700000000000004454f530000000000'
fake error
    ✓ mockTransactions fail (220ms)
    ✓ transfer (broadcast) (222ms)
    ✓ transfer custom authorization (broadcast) (143ms)
    ✓ transfer custom authorization sorting (no broadcast) (206ms)
    ✓ transfer (no broadcast) (123ms)
    ✓ transfer (no broadcast, no sign)
    ✓ transfer sign promise (no broadcast) (121ms)
api error => http://<IP_ADDRESS>:8888/v1/chain/get_code {"account_name":"acdef513521"} { Error: {"code":500,"message":"Internal Service Error","error":{"code":0,"name":"exception","message":"unspecified","details":"unknown key","stack_trace":[{"level":"error","file":"http_plugin.cpp","line":202,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:19.310"}]}}
    at /home/jeremi/Projects/75-crypto/eosjs/node_modules/eosjs-api/lib/apigen.js:98:23
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) status: 500, statusText: 'Internal Server Error' }
{ Error: {"code":500,"message":"Internal Service Error","error":{"code":0,"name":"exception","message":"unspecified","details":"unknown key","stack_trace":[{"level":"error","file":"http_plugin.cpp","line":202,"method":"operator()","hostname":"","thread_name":"thread-0","timestamp":"2018-03-21T05:45:19.310"}]}}
    at /home/jeremi/Projects/75-crypto/eosjs/node_modules/eosjs-api/lib/apigen.js:98:23
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) status: 500, statusText: 'Internal Server Error' }
    ✓ action to unknown contract
    2) action to contract
    ✓ action to contract atomic
(node:11179) UnhandledPromiseRejectionWarning: Error: [
    "Unrecognized type fields.field[]",
    "Missing fields in struct_def.fields.fields"
]
in
{
    "name": "uint64",
    "checksum160": "fixed_bytes20",
    "checksum256": "fixed_bytes32",
    "checksum512": "fixed_bytes64",
    "signature": "fixed_bytes65",
    "public_key": "fixed_bytes33",
    "message_type": "fixed_string16",
    "symbol": "uint64",
    "share_type": "int64",
    "field_name": "fixed_string16",
    "asset": {
        "fields": {
            "amount": "share_type",
            "symbol": "symbol"
        }
    },
    "account_name": "name",
    "permission_name": "name",
    "type_name": "fixed_string32",
    "table_name": "name",
    "action_name": "name",
    "permission_level": {
        "fields": {
            "actor": "account_name",
            "permission": "permission_name"
        }
    },
    "action": {
        "fields": {
            "account": "account_name",
            "name": "action_name",
            "authorization": "permission_level[]",
            "data": "bytes"
        }
    },
    "permission_level_weight": {
        "fields": {
            "permission": "permission_level",
            "weight": "weight_type"
        }
    },
    "transaction": {
        "base": "transaction_header",
        "fields": {
            "context_free_actions": "action[]",
            "actions": "action[]"
        }
    },
    "signed_transaction": {
        "base": "transaction",
        "fields": {
            "signatures": "signature[]",
            "context_free_data": "bytes[]"
        }
    },
    "key_weight": {
        "fields": {
            "key": "public_key",
            "weight": "weight_type"
        }
    },
    "authority": {
        "fields": {
            "threshold": "uint32",
            "keys": "key_weight[]",
            "accounts": "permission_level_weight[]"
        }
    },
    "chain_config": {
        "fields": {
            "target_block_size": "uint32",
            "max_block_size": "uint32",
            "target_block_acts_per_scope": "uint32",
            "max_block_acts_per_scope": "uint32",
            "target_block_acts": "uint32",
            "max_block_acts": "uint32",
            "real_threads": "uint64",
            "max_storage_size": "uint64",
            "max_transaction_lifetime": "uint32",
            "max_authority_depth": "uint16",
            "max_transaction_exec_time": "uint32",
            "max_inline_depth": "uint16",
            "max_inline_action_size": "uint32",
            "max_generated_transaction_size": "uint32"
        }
    },
    "type_def": {
        "fields": {
            "new_type_name": "type_name",
            "type": "type_name"
        }
    },
    "field_def": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "struct_def": {
        "fields": {
            "name": "type_name",
            "base": "type_name",
            "fields": "fields"
        }
    },
    "action_def": {
        "fields": {
            "name": "action_name",
            "type": "type_name"
        }
    },
    "table_def": {
        "fields": {
            "name": "table_name",
            "index_type": "type_name",
            "key_names": "field_name[]",
            "key_types": "type_name[]",
            "type": "type_name"
        }
    },
    "abi_def": {
        "fields": {
            "types": "type_def[]",
            "structs": "struct_def[]",
            "actions": "action_def[]",
            "tables": "table_def[]"
        }
    },
    "newaccount": {
        "fields": {
            "creator": "account_name",
            "name": "account_name",
            "owner": "authority",
            "active": "authority",
            "recovery": "authority"
        }
    },
    "setcode": {
        "fields": {
            "account": "account_name",
            "vmtype": "uint8",
            "vmversion": "uint8",
            "code": "bytes"
        }
    },
    "setabi": {
        "fields": {
            "account": "account_name",
            "abi": "abi_def"
        }
    },
    "updateauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name",
            "parent": "permission_name",
            "data": "authority"
        }
    },
    "deleteauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name"
        }
    },
    "linkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name",
            "requirement": "permission_name"
        }
    },
    "unlinkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name"
        }
    },
    "postrecovery": {
        "fields": {
            "account": "account_name",
            "data": "authority",
            "memo": "string"
        }
    },
    "passrecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "vetorecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "transfer": {
        "fields": {
            "from": "account_name",
            "to": "account_name",
            "quantity": "asset",
            "memo": "string"
        }
    },
    "issue": {
        "fields": {
            "to": "account_name",
            "quantity": "asset"
        }
    },
    "nonce": {
        "fields": {
            "value": "string"
        }
    },
    "regproducer": {
        "fields": {
            "producer": "account_name",
            "producer_key": "bytes"
        }
    },
    "stakevote": {
        "fields": {
            "voter": "account_name",
            "amount": "asset"
        }
    },
    "onerror": "bytes",
    "context_free_type": "bytes",
    "weight_type": "uint16",
    "fields": "field[]",
    "time_point_sec": "time",
    "account": {
        "fields": {
            "key": "name",
            "balance": "uint64"
        }
    },
    "pending_recovery": {
        "fields": {
            "account": "name",
            "request_id": "uint32",
            "update": "updateauth",
            "memo": "string"
        }
    },
    "field": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "transaction_header": {
        "fields": {
            "expiration": "time_point_sec",
            "region": "uint16",
            "ref_block_num": "uint16",
            "ref_block_prefix": "uint16",
            "packed_bandwidth_words": "uint16",
            "context_free_cpu_bandwidth": "uint16"
        }
    }
}
    at module.exports (/home/jeremi/Projects/75-crypto/eosjs/src/structs.js:75:11)
    at network.getCode.then (/home/jeremi/Projects/75-crypto/eosjs/src/abi-cache.js:24:23)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:11179) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11179) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    3) action to contract (contract tr nesting)
(node:11179) UnhandledPromiseRejectionWarning: Error: [
    "Unrecognized type fields.field[]",
    "Missing fields in struct_def.fields.fields"
]
in
{
    "name": "uint64",
    "checksum160": "fixed_bytes20",
    "checksum256": "fixed_bytes32",
    "checksum512": "fixed_bytes64",
    "signature": "fixed_bytes65",
    "public_key": "fixed_bytes33",
    "message_type": "fixed_string16",
    "symbol": "uint64",
    "share_type": "int64",
    "field_name": "fixed_string16",
    "asset": {
        "fields": {
            "amount": "share_type",
            "symbol": "symbol"
        }
    },
    "account_name": "name",
    "permission_name": "name",
    "type_name": "fixed_string32",
    "table_name": "name",
    "action_name": "name",
    "permission_level": {
        "fields": {
            "actor": "account_name",
            "permission": "permission_name"
        }
    },
    "action": {
        "fields": {
            "account": "account_name",
            "name": "action_name",
            "authorization": "permission_level[]",
            "data": "bytes"
        }
    },
    "permission_level_weight": {
        "fields": {
            "permission": "permission_level",
            "weight": "weight_type"
        }
    },
    "transaction": {
        "base": "transaction_header",
        "fields": {
            "context_free_actions": "action[]",
            "actions": "action[]"
        }
    },
    "signed_transaction": {
        "base": "transaction",
        "fields": {
            "signatures": "signature[]",
            "context_free_data": "bytes[]"
        }
    },
    "key_weight": {
        "fields": {
            "key": "public_key",
            "weight": "weight_type"
        }
    },
    "authority": {
        "fields": {
            "threshold": "uint32",
            "keys": "key_weight[]",
            "accounts": "permission_level_weight[]"
        }
    },
    "chain_config": {
        "fields": {
            "target_block_size": "uint32",
            "max_block_size": "uint32",
            "target_block_acts_per_scope": "uint32",
            "max_block_acts_per_scope": "uint32",
            "target_block_acts": "uint32",
            "max_block_acts": "uint32",
            "real_threads": "uint64",
            "max_storage_size": "uint64",
            "max_transaction_lifetime": "uint32",
            "max_authority_depth": "uint16",
            "max_transaction_exec_time": "uint32",
            "max_inline_depth": "uint16",
            "max_inline_action_size": "uint32",
            "max_generated_transaction_size": "uint32"
        }
    },
    "type_def": {
        "fields": {
            "new_type_name": "type_name",
            "type": "type_name"
        }
    },
    "field_def": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "struct_def": {
        "fields": {
            "name": "type_name",
            "base": "type_name",
            "fields": "fields"
        }
    },
    "action_def": {
        "fields": {
            "name": "action_name",
            "type": "type_name"
        }
    },
    "table_def": {
        "fields": {
            "name": "table_name",
            "index_type": "type_name",
            "key_names": "field_name[]",
            "key_types": "type_name[]",
            "type": "type_name"
        }
    },
    "abi_def": {
        "fields": {
            "types": "type_def[]",
            "structs": "struct_def[]",
            "actions": "action_def[]",
            "tables": "table_def[]"
        }
    },
    "newaccount": {
        "fields": {
            "creator": "account_name",
            "name": "account_name",
            "owner": "authority",
            "active": "authority",
            "recovery": "authority"
        }
    },
    "setcode": {
        "fields": {
            "account": "account_name",
            "vmtype": "uint8",
            "vmversion": "uint8",
            "code": "bytes"
        }
    },
    "setabi": {
        "fields": {
            "account": "account_name",
            "abi": "abi_def"
        }
    },
    "updateauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name",
            "parent": "permission_name",
            "data": "authority"
        }
    },
    "deleteauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name"
        }
    },
    "linkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name",
            "requirement": "permission_name"
        }
    },
    "unlinkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name"
        }
    },
    "postrecovery": {
        "fields": {
            "account": "account_name",
            "data": "authority",
            "memo": "string"
        }
    },
    "passrecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "vetorecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "transfer": {
        "fields": {
            "from": "account_name",
            "to": "account_name",
            "quantity": "asset",
            "memo": "string"
        }
    },
    "issue": {
        "fields": {
            "to": "account_name",
            "quantity": "asset"
        }
    },
    "nonce": {
        "fields": {
            "value": "string"
        }
    },
    "regproducer": {
        "fields": {
            "producer": "account_name",
            "producer_key": "bytes"
        }
    },
    "stakevote": {
        "fields": {
            "voter": "account_name",
            "amount": "asset"
        }
    },
    "onerror": "bytes",
    "context_free_type": "bytes",
    "weight_type": "uint16",
    "fields": "field[]",
    "time_point_sec": "time",
    "account": {
        "fields": {
            "key": "name",
            "balance": "uint64"
        }
    },
    "pending_recovery": {
        "fields": {
            "account": "name",
            "request_id": "uint32",
            "update": "updateauth",
            "memo": "string"
        }
    },
    "field": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "transaction_header": {
        "fields": {
            "expiration": "time_point_sec",
            "region": "uint16",
            "ref_block_num": "uint16",
            "ref_block_prefix": "uint16",
            "packed_bandwidth_words": "uint16",
            "context_free_cpu_bandwidth": "uint16"
        }
    }
}
    at module.exports (/home/jeremi/Projects/75-crypto/eosjs/src/structs.js:75:11)
    at network.getCode.then (/home/jeremi/Projects/75-crypto/eosjs/src/abi-cache.js:24:23)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:11179) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    ✓ multi-action transaction (broadcast) (191ms)
    ✓ multi-action transaction no inner callback
    ✓ multi-action transaction error rollback
    ✓ multi-action transaction Promise.reject rollback
    ✓ custom transfer (250ms)

  shorthand
    ✓ asset
    ✓ authority
    ✓ PublicKey sorting
    ✓ public_key
    ✓ symbol

  Contract Abi
    4) Messages do not sort

  Message.data
    ✓ json
    ✓ hex
    ✓ force hex
    ✓ unknown type

  37 passing (4s)
  4 failing

  1) transactions newaccount (broadcast):
     Error: the string "{\"code\":500,\"message\":\"Internal Service Error\",\"error\":{\"code\":10,\"name\":\"assert_exception\",\"message\":\"Assert Exception\",\"details\":\"w < count(): \",\"stack_trace\":[{\"level\":\"error\",\"file\":\"static_variant.hpp\",\"line\":344,\"method\":\"set_which\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":327,\"method\":\"operator()\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":568,\"method\":\"unpack\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":327,\"method\":\"operator()\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":568,\"method\":\"unpack\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":327,\"method\":\"operator()\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":568,\"method\":\"unpack\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":327,\"method\":\"operator()\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":568,\"method\":\"unpack\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"},{\"level\":\"warn\",\"file\":\"raw.hpp\",\"line\":614,\"method\":\"unpack\",\"hostname\":\"\",\"thread_name\":\"thread-0\",\"timestamp\":\"2018-03-21T05:45:18.041\"}]}}" was thrown, throw an Error :)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

  2) transactions action to contract:
     Error: [
    "Unrecognized type fields.field[]",
    "Missing fields in struct_def.fields.fields"
]
in
{
    "name": "uint64",
    "checksum160": "fixed_bytes20",
    "checksum256": "fixed_bytes32",
    "checksum512": "fixed_bytes64",
    "signature": "fixed_bytes65",
    "public_key": "fixed_bytes33",
    "message_type": "fixed_string16",
    "symbol": "uint64",
    "share_type": "int64",
    "field_name": "fixed_string16",
    "asset": {
        "fields": {
            "amount": "share_type",
            "symbol": "symbol"
        }
    },
    "account_name": "name",
    "permission_name": "name",
    "type_name": "fixed_string32",
    "table_name": "name",
    "action_name": "name",
    "permission_level": {
        "fields": {
            "actor": "account_name",
            "permission": "permission_name"
        }
    },
    "action": {
        "fields": {
            "account": "account_name",
            "name": "action_name",
            "authorization": "permission_level[]",
            "data": "bytes"
        }
    },
    "permission_level_weight": {
        "fields": {
            "permission": "permission_level",
            "weight": "weight_type"
        }
    },
    "transaction": {
        "base": "transaction_header",
        "fields": {
            "context_free_actions": "action[]",
            "actions": "action[]"
        }
    },
    "signed_transaction": {
        "base": "transaction",
        "fields": {
            "signatures": "signature[]",
            "context_free_data": "bytes[]"
        }
    },
    "key_weight": {
        "fields": {
            "key": "public_key",
            "weight": "weight_type"
        }
    },
    "authority": {
        "fields": {
            "threshold": "uint32",
            "keys": "key_weight[]",
            "accounts": "permission_level_weight[]"
        }
    },
    "chain_config": {
        "fields": {
            "target_block_size": "uint32",
            "max_block_size": "uint32",
            "target_block_acts_per_scope": "uint32",
            "max_block_acts_per_scope": "uint32",
            "target_block_acts": "uint32",
            "max_block_acts": "uint32",
            "real_threads": "uint64",
            "max_storage_size": "uint64",
            "max_transaction_lifetime": "uint32",
            "max_authority_depth": "uint16",
            "max_transaction_exec_time": "uint32",
            "max_inline_depth": "uint16",
            "max_inline_action_size": "uint32",
            "max_generated_transaction_size": "uint32"
        }
    },
    "type_def": {
        "fields": {
            "new_type_name": "type_name",
            "type": "type_name"
        }
    },
    "field_def": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "struct_def": {
        "fields": {
            "name": "type_name",
            "base": "type_name",
            "fields": "fields"
        }
    },
    "action_def": {
        "fields": {
            "name": "action_name",
            "type": "type_name"
        }
    },
    "table_def": {
        "fields": {
            "name": "table_name",
            "index_type": "type_name",
            "key_names": "field_name[]",
            "key_types": "type_name[]",
            "type": "type_name"
        }
    },
    "abi_def": {
        "fields": {
            "types": "type_def[]",
            "structs": "struct_def[]",
            "actions": "action_def[]",
            "tables": "table_def[]"
        }
    },
    "newaccount": {
        "fields": {
            "creator": "account_name",
            "name": "account_name",
            "owner": "authority",
            "active": "authority",
            "recovery": "authority"
        }
    },
    "setcode": {
        "fields": {
            "account": "account_name",
            "vmtype": "uint8",
            "vmversion": "uint8",
            "code": "bytes"
        }
    },
    "setabi": {
        "fields": {
            "account": "account_name",
            "abi": "abi_def"
        }
    },
    "updateauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name",
            "parent": "permission_name",
            "data": "authority"
        }
    },
    "deleteauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name"
        }
    },
    "linkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name",
            "requirement": "permission_name"
        }
    },
    "unlinkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name"
        }
    },
    "postrecovery": {
        "fields": {
            "account": "account_name",
            "data": "authority",
            "memo": "string"
        }
    },
    "passrecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "vetorecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "transfer": {
        "fields": {
            "from": "account_name",
            "to": "account_name",
            "quantity": "asset",
            "memo": "string"
        }
    },
    "issue": {
        "fields": {
            "to": "account_name",
            "quantity": "asset"
        }
    },
    "nonce": {
        "fields": {
            "value": "string"
        }
    },
    "regproducer": {
        "fields": {
            "producer": "account_name",
            "producer_key": "bytes"
        }
    },
    "stakevote": {
        "fields": {
            "voter": "account_name",
            "amount": "asset"
        }
    },
    "onerror": "bytes",
    "context_free_type": "bytes",
    "weight_type": "uint16",
    "fields": "field[]",
    "time_point_sec": "time",
    "account": {
        "fields": {
            "key": "name",
            "balance": "uint64"
        }
    },
    "pending_recovery": {
        "fields": {
            "account": "name",
            "request_id": "uint32",
            "update": "updateauth",
            "memo": "string"
        }
    },
    "field": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "transaction_header": {
        "fields": {
            "expiration": "time_point_sec",
            "region": "uint16",
            "ref_block_num": "uint16",
            "ref_block_prefix": "uint16",
            "packed_bandwidth_words": "uint16",
            "context_free_cpu_bandwidth": "uint16"
        }
    }
}
      at module.exports (src/structs.js:75:11)
      at network.getCode.then (src/abi-cache.js:24:23)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

  3) transactions action to contract (contract tr nesting):
     Error: [
    "Unrecognized type fields.field[]",
    "Missing fields in struct_def.fields.fields"
]
in
{
    "name": "uint64",
    "checksum160": "fixed_bytes20",
    "checksum256": "fixed_bytes32",
    "checksum512": "fixed_bytes64",
    "signature": "fixed_bytes65",
    "public_key": "fixed_bytes33",
    "message_type": "fixed_string16",
    "symbol": "uint64",
    "share_type": "int64",
    "field_name": "fixed_string16",
    "asset": {
        "fields": {
            "amount": "share_type",
            "symbol": "symbol"
        }
    },
    "account_name": "name",
    "permission_name": "name",
    "type_name": "fixed_string32",
    "table_name": "name",
    "action_name": "name",
    "permission_level": {
        "fields": {
            "actor": "account_name",
            "permission": "permission_name"
        }
    },
    "action": {
        "fields": {
            "account": "account_name",
            "name": "action_name",
            "authorization": "permission_level[]",
            "data": "bytes"
        }
    },
    "permission_level_weight": {
        "fields": {
            "permission": "permission_level",
            "weight": "weight_type"
        }
    },
    "transaction": {
        "base": "transaction_header",
        "fields": {
            "context_free_actions": "action[]",
            "actions": "action[]"
        }
    },
    "signed_transaction": {
        "base": "transaction",
        "fields": {
            "signatures": "signature[]",
            "context_free_data": "bytes[]"
        }
    },
    "key_weight": {
        "fields": {
            "key": "public_key",
            "weight": "weight_type"
        }
    },
    "authority": {
        "fields": {
            "threshold": "uint32",
            "keys": "key_weight[]",
            "accounts": "permission_level_weight[]"
        }
    },
    "chain_config": {
        "fields": {
            "target_block_size": "uint32",
            "max_block_size": "uint32",
            "target_block_acts_per_scope": "uint32",
            "max_block_acts_per_scope": "uint32",
            "target_block_acts": "uint32",
            "max_block_acts": "uint32",
            "real_threads": "uint64",
            "max_storage_size": "uint64",
            "max_transaction_lifetime": "uint32",
            "max_authority_depth": "uint16",
            "max_transaction_exec_time": "uint32",
            "max_inline_depth": "uint16",
            "max_inline_action_size": "uint32",
            "max_generated_transaction_size": "uint32"
        }
    },
    "type_def": {
        "fields": {
            "new_type_name": "type_name",
            "type": "type_name"
        }
    },
    "field_def": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "struct_def": {
        "fields": {
            "name": "type_name",
            "base": "type_name",
            "fields": "fields"
        }
    },
    "action_def": {
        "fields": {
            "name": "action_name",
            "type": "type_name"
        }
    },
    "table_def": {
        "fields": {
            "name": "table_name",
            "index_type": "type_name",
            "key_names": "field_name[]",
            "key_types": "type_name[]",
            "type": "type_name"
        }
    },
    "abi_def": {
        "fields": {
            "types": "type_def[]",
            "structs": "struct_def[]",
            "actions": "action_def[]",
            "tables": "table_def[]"
        }
    },
    "newaccount": {
        "fields": {
            "creator": "account_name",
            "name": "account_name",
            "owner": "authority",
            "active": "authority",
            "recovery": "authority"
        }
    },
    "setcode": {
        "fields": {
            "account": "account_name",
            "vmtype": "uint8",
            "vmversion": "uint8",
            "code": "bytes"
        }
    },
    "setabi": {
        "fields": {
            "account": "account_name",
            "abi": "abi_def"
        }
    },
    "updateauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name",
            "parent": "permission_name",
            "data": "authority"
        }
    },
    "deleteauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name"
        }
    },
    "linkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name",
            "requirement": "permission_name"
        }
    },
    "unlinkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name"
        }
    },
    "postrecovery": {
        "fields": {
            "account": "account_name",
            "data": "authority",
            "memo": "string"
        }
    },
    "passrecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "vetorecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "transfer": {
        "fields": {
            "from": "account_name",
            "to": "account_name",
            "quantity": "asset",
            "memo": "string"
        }
    },
    "issue": {
        "fields": {
            "to": "account_name",
            "quantity": "asset"
        }
    },
    "nonce": {
        "fields": {
            "value": "string"
        }
    },
    "regproducer": {
        "fields": {
            "producer": "account_name",
            "producer_key": "bytes"
        }
    },
    "stakevote": {
        "fields": {
            "voter": "account_name",
            "amount": "asset"
        }
    },
    "onerror": "bytes",
    "context_free_type": "bytes",
    "weight_type": "uint16",
    "fields": "field[]",
    "time_point_sec": "time",
    "account": {
        "fields": {
            "key": "name",
            "balance": "uint64"
        }
    },
    "pending_recovery": {
        "fields": {
            "account": "name",
            "request_id": "uint32",
            "update": "updateauth",
            "memo": "string"
        }
    },
    "field": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "transaction_header": {
        "fields": {
            "expiration": "time_point_sec",
            "region": "uint16",
            "ref_block_num": "uint16",
            "ref_block_prefix": "uint16",
            "packed_bandwidth_words": "uint16",
            "context_free_cpu_bandwidth": "uint16"
        }
    }
}
      at module.exports (src/structs.js:75:11)
      at network.getCode.then (src/abi-cache.js:24:23)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

  4) Contract Abi Messages do not sort:
     Error: [
    "Unrecognized type fields.field[]",
    "Missing fields in struct_def.fields.fields"
]
in
{
    "name": "uint64",
    "checksum160": "fixed_bytes20",
    "checksum256": "fixed_bytes32",
    "checksum512": "fixed_bytes64",
    "signature": "fixed_bytes65",
    "public_key": "fixed_bytes33",
    "message_type": "fixed_string16",
    "symbol": "uint64",
    "share_type": "int64",
    "field_name": "fixed_string16",
    "asset": {
        "fields": {
            "amount": "share_type",
            "symbol": "symbol"
        }
    },
    "account_name": "name",
    "permission_name": "name",
    "type_name": "fixed_string32",
    "table_name": "name",
    "action_name": "name",
    "permission_level": {
        "fields": {
            "actor": "account_name",
            "permission": "permission_name"
        }
    },
    "action": {
        "fields": {
            "account": "account_name",
            "name": "action_name",
            "authorization": "permission_level[]",
            "data": "bytes"
        }
    },
    "permission_level_weight": {
        "fields": {
            "permission": "permission_level",
            "weight": "weight_type"
        }
    },
    "transaction": {
        "base": "transaction_header",
        "fields": {
            "context_free_actions": "action[]",
            "actions": "action[]"
        }
    },
    "signed_transaction": {
        "base": "transaction",
        "fields": {
            "signatures": "signature[]",
            "context_free_data": "bytes[]"
        }
    },
    "key_weight": {
        "fields": {
            "key": "public_key",
            "weight": "weight_type"
        }
    },
    "authority": {
        "fields": {
            "threshold": "uint32",
            "keys": "key_weight[]",
            "accounts": "permission_level_weight[]"
        }
    },
    "chain_config": {
        "fields": {
            "target_block_size": "uint32",
            "max_block_size": "uint32",
            "target_block_acts_per_scope": "uint32",
            "max_block_acts_per_scope": "uint32",
            "target_block_acts": "uint32",
            "max_block_acts": "uint32",
            "real_threads": "uint64",
            "max_storage_size": "uint64",
            "max_transaction_lifetime": "uint32",
            "max_authority_depth": "uint16",
            "max_transaction_exec_time": "uint32",
            "max_inline_depth": "uint16",
            "max_inline_action_size": "uint32",
            "max_generated_transaction_size": "uint32"
        }
    },
    "type_def": {
        "fields": {
            "new_type_name": "type_name",
            "type": "type_name"
        }
    },
    "field_def": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "struct_def": {
        "fields": {
            "name": "type_name",
            "base": "type_name",
            "fields": "fields"
        }
    },
    "action_def": {
        "fields": {
            "name": "action_name",
            "type": "type_name"
        }
    },
    "table_def": {
        "fields": {
            "name": "table_name",
            "index_type": "type_name",
            "key_names": "field_name[]",
            "key_types": "type_name[]",
            "type": "type_name"
        }
    },
    "abi_def": {
        "fields": {
            "types": "type_def[]",
            "structs": "struct_def[]",
            "actions": "action_def[]",
            "tables": "table_def[]"
        }
    },
    "newaccount": {
        "fields": {
            "creator": "account_name",
            "name": "account_name",
            "owner": "authority",
            "active": "authority",
            "recovery": "authority"
        }
    },
    "setcode": {
        "fields": {
            "account": "account_name",
            "vmtype": "uint8",
            "vmversion": "uint8",
            "code": "bytes"
        }
    },
    "setabi": {
        "fields": {
            "account": "account_name",
            "abi": "abi_def"
        }
    },
    "updateauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name",
            "parent": "permission_name",
            "data": "authority"
        }
    },
    "deleteauth": {
        "fields": {
            "account": "account_name",
            "permission": "permission_name"
        }
    },
    "linkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name",
            "requirement": "permission_name"
        }
    },
    "unlinkauth": {
        "fields": {
            "account": "account_name",
            "code": "account_name",
            "type": "action_name"
        }
    },
    "postrecovery": {
        "fields": {
            "account": "account_name",
            "data": "authority",
            "memo": "string"
        }
    },
    "passrecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "vetorecovery": {
        "fields": {
            "account": "account_name"
        }
    },
    "transfer": {
        "fields": {
            "from": "account_name",
            "to": "account_name",
            "quantity": "asset",
            "memo": "string"
        }
    },
    "issue": {
        "fields": {
            "to": "account_name",
            "quantity": "asset"
        }
    },
    "nonce": {
        "fields": {
            "value": "string"
        }
    },
    "regproducer": {
        "fields": {
            "producer": "account_name",
            "producer_key": "bytes"
        }
    },
    "stakevote": {
        "fields": {
            "voter": "account_name",
            "amount": "asset"
        }
    },
    "onerror": "bytes",
    "context_free_type": "bytes",
    "weight_type": "uint16",
    "fields": "field[]",
    "time_point_sec": "time",
    "account": {
        "fields": {
            "key": "name",
            "balance": "uint64"
        }
    },
    "pending_recovery": {
        "fields": {
            "account": "name",
            "request_id": "uint32",
            "update": "updateauth",
            "memo": "string"
        }
    },
    "field": {
        "fields": {
            "name": "field_name",
            "type": "type_name"
        }
    },
    "transaction_header": {
        "fields": {
            "expiration": "time_point_sec",
            "region": "uint16",
            "ref_block_num": "uint16",
            "ref_block_prefix": "uint16",
            "packed_bandwidth_words": "uint16",
            "context_free_cpu_bandwidth": "uint16"
        }
    }
}
      at module.exports (src/structs.js:75:11)
      at network.getCode.then (src/abi-cache.js:24:23)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR<EMAIL_ADDRESS>test: `mocha --use_strict src/*.test.js`
npm ERR! Exit status 4
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jeremi/.npm/_logs/2018-03-21T05_45_19_872Z-debug.log

Initial PR: https://github.com/EOSIO/eosjs/pull/31
Moved to: https://github.com/EOSIO/eosjs/pull/32

Docker build is broken:
https://github.com/EOSIO/eos/issues/1744

They merged the docker fix in EOS, so it should be good now. Let me know if you want me to update the script, but that would do another pull-request on your pull-request...

Merged into dawn3 branch ..
npm published eosjs@dawn3 (version 7.1.1)


eslint added | fixes #25

This PR configures eslint ;)
Try: bun run lint

Thanks

Hi @bgalek  ,
Thank you so much for contributing to Event Blend during Hacktoberfest! Your efforts are truly appreciated, and we’d love to give you kudos and a shout-out for your amazing work.
If you're comfortable, please feel free to share your social media handles like ig,linkedin, twitter,etc... so we can tag you in our appreciation posts and spread the word about your contributions!
Looking forward to seeing you in the community. Thanks again for being awesome!
Best,
Harsh Mangalam
Maintainer, Event Blend


Remove unused global variable in test

I didn't know which code and/or dependency using this global variable...
📝 CI failure is another issue, it requires https://github.com/quipper/sbpayment.rb/pull/52

Thank you, rebased!

👍

Thank you!


Better docs

docs/overview.md has some good information in it but presented poorly. Ideally we can create some decent GitHub Pages docs using this info.

mintlify is now linked to docs


Governance Voting contract for different options. reads the voting power from staking contract.

The voting contract for different options. reads the voting power from staking contract.

proposal isn't executable

dummy/fake data can be used for targets, signatures, calldatas

we don't need to change anything related to functions cancel, queue, execute

Timelock remains the same

dynamic number of options during proposal creation

the users just choose between options defined

we need a list of options for the proposal, can be dynamic array of string (bytes32 can be considered, but could be not enough) instead of bool
struct Receipt {
bool hasVoted;
uint8 option; (can be uint16, but I think 256 options is enough)
uint96 votes;
}

'struct Proposal {
uint256 id;
uint32 startBlock;
uint32 endBlock;
//uint96 forVotes;
//uint96 againstVotes;
mapping (uint8 => uint96) votes;'

converting to draft

converting to draft


Laravel Tinker cause issues in PHP Storm

Laravel Tinker cause issues in PHP Storm:

Slows down the PHP Storm.
Prevents auto code completion and suggestions.
Sometimes cause issues with context-menu in project panel.

Laravel Tinker : v2.2.1
PhpStorm v2021.2.1
none of these issues exist before updating (also clean installing) PhpStorm v2021.2.1
and everything become ok when disabling the plugin.

Duplicate of #61 - I need a way to reproduce the issue since I con't reproduce it whatever I try to do.


[cadvisor-package] Storage backend to cadvisor

As the rancher already runs cadvisor in each rancher/agent. It would be important to avoid using another monitoring system (would be a resource-wasting) by adding an option to the rancher, to configure a storage for cadvisor as the cadvisor has support for multiple storage backends: [https://github.com/google/cadvisor/tree/master/storage (BigQuery, ElasticSearch, InfluxDB, Redis and StatsD)]

+1

+1 we want to use ElasticSearch for the cadvisor storage backends

We are no longer using cadvisor as of v1.2.0 instead we're using docker stats for container stats and https://github.com/shirou/gopsutil for host stats.

@deniseschannon - are we able to grab the stats from Rancher so as to not duplicate the stats collection?

There is no "collection" anymore, live non-historical data is streamed only while you're looking at it.  You can certainly run cAdvisor as a container on your own.

@vincent99  - Thanks, that makes sense.


Docker Support

This will make updating bot easier and also it makes possible to run production and development versions.

updating the bot is easy enough and in its current state it does not need development versions
maybe later


Is there a way i can use CustomComponent as a chat flow?

I'm not sure how it works yet, but I've confirmed that if you create a custom component in the LLM chain or agent chain folder and set the return type to AgentExecutor, it runs in the chat flow.


containerStyle and childrenContainerStyle types missing from react-native-gesture-handler.d.ts

With the latest version containerStyle and childrenContainerStyle props were added to Swipeable.js but when these are used with a TypeScript React Native project, TypeScript will display an error that the types are missing from SwipeableProperties in  react-native-gesture-handler.d.ts

This is fixed in version 1.3.0


Can't paste „≢“ (U+2262)

This is actually a known issue: https://github.com/Microsoft/vscode/issues/53816 + https://bugs.chromium.org/p/chromium/issues/detail?id=821173
But I'm opening a new issue regardless because I am severely affected by this issue and I just do not understand the mechanisms that allow giants like Microsoft and Google to push these issuese around instead of fixing them once and for good.
Surely more time has been spent now NOT fixing this bug than it would have taken to actually deal with it.  Can someone pls. get active and have it sorted?!

/duplicate #53816


[otbn,doc] Documentation improvements

1st commit updates block diagram to seperate OTBN block diagram and otbn_core block diagram.
2nd commit adds a README to help document OTBN ISS.

It's not as much in detail as I wanted to but I aimed to give some sort of general idea about what is where regarding the internals of the ISS. Let me know if you think I missed some parts.

Thanks @andreaskurth for the feedback! I applied them and extended the tracing related part a little bit.

This changes only the documentation, so we don't need CI to pass (other than linting maybe, but the Quick Lint check already passed). Merging


feat: Add storybook dependencies and basic theming

Depends on #49

closing this PR in favor of smaller, incremental PRs


catalog: use a single lock for catalog

https://github.com/risinglightdb/risinglight/blob/7c5e0d5193708c50b14c98f3efdddfcefbe445cd/src/catalog/database.rs#L10-L13
Currently, every layer of catalog (database, schema, table) has a mutex. This makes things hard for our system -- we cannot get a consistent snapshot of the full catalog.
We should refactor that catalog to have only a single lock on RootCatalog.
https://github.com/risinglightdb/risinglight/blob/7c5e0d5193708c50b14c98f3efdddfcefbe445cd/src/catalog/root.rs#L10-L12
In all other places, there should be no locks. We should guarantee that only one thread can gain access to the catalog.

/assignme


It would be convenient in the method WiremockConfigFactory.create() transmit ExtensionContext

There was a need from CustomWireMockConfigFactory to access to spring context. I can realize my own ApplicationContextAware and to get context from static method. But would be convenient to get it from ExtensionContext in CustomWireMockConfigFactory instance.

Would be very helpfull in order to be able to configure depending of the spring context too.


⚠ ClamAV has degraded performance

In a740b2b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 240 ms

Resolved: ClamAV performance has improved in e54faa0 after 8 minutes.


Our Rockets part's pointer can be cursor and in contact us section more options can be added

Hello, @Ishitamukherjee2004  This issue will be assigned to you as soon as the contribution period begins. However, you can work on this till then.

I have read the issue and I am eagerly want to contribute in this issue .
please assign it to me under JWOC'2024.


Higher-Order Component is mounted twice

Issue Type

[x] Bug (https://github.com/react-boilerplate/react-boilerplate/blob/master/CONTRIBUTING.md#bug-reports)

Description
I've been used Higher-Order Components (HOC) for checking login in componentWillMount.
I noticed componentWillMount is triggered twice, after merging the commit to replace from react-router-redux to connected-react-router.
I found this issue doesn't appear in connected-react-router official example(https://github.com/supasate/connected-react-router/tree/master/examples/immutable).
I did a quick fix for this issue according to above official example, then componentWillMount is triggered once as expected.
I'm not sure about root cause, so I cannot say this change is appropriate.
I also tried dev branch of this boilerplate including update connected-react-router(https://github.com/react-boilerplate/react-boilerplate/commit/d579e1b469d25dc75cb3bfa0fa334a9a2ef9cf2e), but HOC is still mounted twice.
Steps to reproduce
Working example repo based on this boilerplate : https://github.com/tylerong/react-boilerplate/tree/hoc-mounted-twice

Run npm run start
Access http://localhost:3000/hoc
"componetWillMount" is displayed in console twice

Quick fix repo : https://github.com/tylerong/react-boilerplate/tree/quick-fix-hoc-issue

Run npm run start
Access http://localhost:3000/hoc
"componetWillMount" is displayed in console once

Expected behavior
HOC is mounted once.
Screenshots
no.
Versions

React-Boilerplate (see package.json):3.7.0
Node/NPM:8.12.0/6.4.1
Browser:Google Chrome 70.0.3538.102, Firefox 63.0.3

Thank for the super detailed description and for providing forks! This is super rare but so helpful.
IMO the issue here is that you regenerate a new WrappedComponent on every App render when you call SomeHOC in render:
<Route path="/hoc" component={SomeHOC()} />

The solution would be to create your WrappedComponent outside of your App's render function.
/* Outside render func: */
const WrappedComponent = SomeHOC(/* pass a component here */);

/* Inside render func: */
<Route path="/hoc" component={WrappedComponent} />

I believe a naming convention for your HOCs would help avoid this kind of error. Your function SomeHOC isn't an HOC per-se. It generates an HOC. So if I were you I would call it withSomething. The same as withConnect, withReducer, withSaga, etc.
Does this help fix your issue?

@julienben
Thank you so much for your comment and suggestion. With your solution, HOC is now correctly mounted!
I totally agree "withSomething" is more consistent style in this boilerplate.
The way <Route path="/hoc" component={SomeHOC()} /> is suggested in some blog posts like https://codeburst.io/react-router-v4-unofficial-migration-guide-5a370b8905a "Replace onEnter with componentWillMount" chapter (And I followed this way before thinking deeply...).
This way somehow seems to work without odd behavior with react-router-redux and even with connected-react-router's official sample project, so I keep using it.
Anyway we need to avoid an unnecessary regenerating of component. I understand this issue is a rare edge case resulted from a bad habit.


Add a 'display.max_rows' configuration with typed configuration support

This PR:

Expose get_option, set_option, reset_option to koalas namespace
Add typed values supported by JSON ser/de
Convert max_display_count variable to display.max_rows option.

Codecov Report

Merging #714 into master will decrease coverage by 0.63%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #714      +/-   ##
==========================================
- Coverage   92.41%   91.77%   -0.64%
==========================================
  Files          32       32
  Lines        5548     5557       +9
==========================================
- Hits         5127     5100      -27
- Misses        421      457      +36

Impacted Files
Coverage Δ

databricks/koalas/generic.py
93.71% <ø> (-0.04%)
:arrow_down:

databricks/koalas/series.py
94.83% <100%> (-0.17%)
:arrow_down:

databricks/koalas/__init__.py
77.5% <100%> (+0.57%)
:arrow_up:

databricks/koalas/config.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/indexes.py
97.22% <100%> (+0.02%)
:arrow_up:

databricks/koalas/frame.py
93.1% <100%> (-1.74%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-2.33%)
:arrow_down:

databricks/koalas/namespace.py
92.15% <0%> (-1.57%)
:arrow_down:

databricks/koalas/plot.py
93.64% <0%> (-1.16%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8360c58...a998b12. Read the comment docs.

@ueshin, let me merge this one to unblock #715


Missing string type hint

https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/dd47d409667621230a49205acde029a1df9561dd/src/FFMpeg/Media/AbstractVideo.php#L125
https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/dd47d409667621230a49205acde029a1df9561dd/src/FFMpeg/Media/AbstractVideo.php#L144
PHP Warning:  Declaration of FFMpeg/Media/AbstractVideo::getFinalCommand(FFMpeg/Format/FormatInterface $format, $outputPathfile) should be compatible with FFMpeg/Media/Audio::getFinalCommand(FFMpeg/Format/FormatInterface $format, string $outputPathfile) in /home/erik/Code/Web/PointMedia/drive/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/
Media/AbstractVideo.php on line 27

Which version are you using?

Okay, you know that this is currently unstable. ;) Would you like to file a PR?

i know it, but the older one has some compatibility problem with Laravel 5.7.
PR is here: https://github.com/PHP-FFMpeg/PHP-FFMpeg/pull/571

thanks, fixed.

thanks for merge ;)


refactor(completion): using abbr_hlgroup replace hlgroup in complete

Problem:
Currently hlgroup combines on all items, which is redundant and will cause some unnecessary calculations. And hlgroup and kind_hlgroup may cause confusion in usage.
Solution:
Renamed to abbr_hlgroup, only perform superposition on abbr.

Supersedes #15994?

I forgot about that draft. closed

Thanks. This is mainly about renaming the name from hlgroup to abbr_group?

Previously hlgroup combined all item attrs. This was unnecessary for menu kind etc. Changed to abbr_hlgroup to be consistent with kind_hlgroup and only combine on abbr text. Still uses original attr for space padding.


Update consensus reward distribution logic.

Now tx fees are split across the proposer and the validators
New consensus path has been introduced to keep track of unclaimed & cumulative rewards (/consensus/rewards/${address}: { unclaimed, cumulative })
Added _claimReward native function

Triggered by setting a value at /gas_fee/claim/${address}/${key}: { amount }

DB structure updated: /gas_fee/collect/${address}/${blockNumber}/${txHash} => /gas_fee/collect/${blockNumber}/${address}/${txHash}
Fixed trimExecutionResult() for multi-set txs

Addressed all comments, PTAL @platfowner

Thanks for the review~ Now merging..


Add feature to designate Reward Receiver Address at the time of lock creation

Background
In https://github.com/osmosis-labs/osmosis/pull/5281, we implemented a feature and a msg to designate lock reward reciever, where the lock reward receiver would be the one receiving the incentives from the gauges.
As per @p0mvn 's suggestion, we would like to further develop this feature by providing user the option to provide and designate the lock reward receiver at the time of lock creation.
Suggested Design
We add a extra field to the çreate lock msg, where if it's empty use owner as reward receiver, if not use that field as reward receiver
Acceptance Criteria

Feature has been implemented & test cases have been implemented

This PR has been finished by #5281


Add secret scanning as reusable workflow

Add secret scanning to repo
Refactor secret scanning to use reusable workflow

As I'm adding the same pre-commit and github action for all repos. I'm using miki's approval on one repos as approval for others.
see https://github.com/xelixdev/terraform/pull/1475 for github action approval and
https://github.com/xelixdev/terraform/pull/1452 for pre-commit approval

Public repos can't use reusable workflows in private repos so I've added the full secret scanning check

As I'm adding the same pre-commit and github action for all repos. I'm using miki's approval on one repos as approval for others.
see https://github.com/xelixdev/terraform/pull/1475 for github action approval and
https://github.com/xelixdev/terraform/pull/1452 for pre-commit approval


METRON-1805: Provide a default value for the Storm topology.max.spout.pending setting

Contributor Comments
Users have reported problems in the random and batch indexing topologies when this setting is not set.  The primary purpose of this PR is to start a discussion around providing a default value for the Storm topology.max.spout.pending setting in our topologies and implement the changes if we decide to do it.

Should we provide defaults or continue to defer to the Storm default where a maximum isn't enforced?
Which topologies should we provide defaults for?
What should the default values be for the topologies we include?

Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[ ] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[ ] Have you written or updated unit tests and or integration tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

I think this is fine. This is just the backpressure setting and having it set to the default means that the spigot is fully open and will potentially flood the topology with a high velocity of data. We recommend tuning all topologies, so starting from a default that doesn't crush the system seems reasonable to me. Since this change is only being made to indexing, can you clarify if there is/was any observable issues in the other topologies?

As far as I know there was not an issue with other topologies.  Writing data tends to cause back pressure so that's why these changes were suggested for indexing topologies.

For context, I set the default for Enrichments to 500.  There was some discussion here.
I would echo my comments from that discussion here.  I think our defaults should focus on day 1 user experience.  Defining a default in the 300 - 700 range tends to be reasonable on most platforms for day 1.  What we don't want is to start Metron up and the topology to immediately die with an OOM because there is no back pressure.

@merrimanr: Which topologies should we provide defaults for?

To follow-up on the other topologies, we do not set a default for the Profiler, which we probably should.
I am not sure about Parsers.

This seems reasonable to me all the way around. +1 by inspection.

I added a default to the profiler topology.  We're probably less likely to run into a problem with the parser topologies I would think.  Should we provide defaults for those?

Outside of pcap, I've yet to see issues where parsers would have any issues handling inbound throughput. The profiler default seems reasonable to me as well. Still +1 from me.


add coverage to tests

Codecov Report

Merging #1456 (eeb88bf) into master (358d70e) will increase coverage by 7.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1456      +/-   ##
==========================================
+ Coverage   70.62%   77.95%   +7.33%
==========================================
  Files         114      102      -12
  Lines        8956     8034     -922
==========================================
- Hits         6325     6263      -62
+ Misses       2631     1771     -860

Impacted Files
Coverage Δ

zmq/backend/cffi/__init__.py
7.69% <0.00%> (-92.31%)
:arrow_down:

zmq/backend/cffi/_cffi.py
6.94% <0.00%> (-87.50%)
:arrow_down:

zmq/tests/test_cffi_backend.py
13.82% <0.00%> (-84.58%)
:arrow_down:

zmq/backend/cffi/constants.py
18.18% <0.00%> (-81.82%)
:arrow_down:

zmq/backend/cffi/error.py
0.00% <0.00%> (-50.00%)
:arrow_down:

zmq/backend/cffi/message.py
0.00% <0.00%> (-48.79%)
:arrow_down:

zmq/backend/cffi/devices.py
0.00% <0.00%> (-40.00%)
:arrow_down:

zmq/backend/cffi/context.py
0.00% <0.00%> (-39.14%)
:arrow_down:

zmq/backend/cffi/utils.py
0.00% <0.00%> (-30.31%)
:arrow_down:

zmq/backend/cffi/socket.py
0.00% <0.00%> (-20.79%)
:arrow_down:

... and 73 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 358d70e...eeb88bf. Read the comment docs.


Bootstrap 4 roadmap?

Any ideas when Bootstrap 4 would become stable or beta?
I'm in dilemma whether to use B4 for upcoming project or stay with B3. I like B4 more, because it's Sass based and easier to incorporate with Laravel's Elixir. Just want to know if B4 going to change a lot in future?

Check out PR #17021 which list the features meant to land in V4

As for "when is it going to be in stable/beta", the answer unfortunately is "when it's ready". No specific timescales are set for this, at the moment.

I am starting the application from scratch today, I am the owner of the business. It will take 6 months of development efforts & looking for bootstrap 4 , I hope by the the time it will get stable, So I am okay to make few iterations when it comes to beta or stable release but do not want major trouble, Can anyone suggest me if I can start with bootstrap 4 for production today?

Alpha 6 is shipped, what comes next is the first Beta. They say no major changes should be added, only efficiencies. Take that how you'd like, I'm in the same boat and am itches to use it.

They knew the answer back in 1956.
https://www.youtube.com/watch?v=CcWbZUgymkw

Bootstrap 4 is basically Foundation 6 which released years ago.

Duplicate of #22576, #23027, #23054 and #23120. Please go read all those issues, and feel free to ask any remaining questions you have.


Custom RSS feeds

And/or reader, feedly's great but folder limit is awful
https://gitlab.com/stormking/feedropolis
https://docs.rsshub.app/en/social-media.html

https://changedetection.io/

https://github.com/stefansundin/rssbox

https://github.com/Kombustor/rss-fulltext-proxy

Especially GitHub diffs for Microsoft docs, since the content lags behind the publish date in the official RSS feed. And GitHub-specific plugins are abandoned (5+ ys old)

cd deployed, fulltext-proxy vetoed due to age


Typo "Microsoft Storage Explorer"→"Microsoft Azure Storage Explorer"

https://docs.microsoft.com/en-us/azure/data-factory/v1/data-factory-build-your-first-pipeline-using-vs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks.


Update deprecated selectors

@yujinakayama any chance you have time to merge the deprecation issues? Deprecations must be fixed before support is removed June 1st.


Master needs to go back one commit

I am having a lot of issues on my machine with permissions and input/output errors. I think a lot of it has to do with working on the bash system inside of windows. The last commit I did, broke some stuff, not sure what was going on. Master needs to go back one commit, I will delete and download the project again on my ubuntu laptop and see how it goes.

@tronicdata What was happening exactly? I'm going to have to push to the master branch again and test it out on my Mac. Did you get it working in the end?

@tronicdata Reverted


[tool] Release sdk status tool

/azp run

/check-enforcer override

live the message from excuting holdness of mary kate olsen of my luiving night of living dead lt's my security of disturn of god rouverange l was kiling all named from existing saving of mary kate olsen of my dauther of lntendant of districk old man child vermine of born of flikering disturb of distributing holing guelth lt's the reverse sound of rouverange of disturb of districk alternaty of NoX-PacT


proper naming

It’s bad style to name things in lowerCamelCase
Also classes have to be UpperCamelCase
As a python user I expect to do
# aah, I’m importing a class from a module, sure!
from sclvm import ScLVM

not
# huh, “scLVM” twice? the first one is a module, and the second one?
from scLVM.core import scLVM

thanks for your comment, Phil. Will change this to be more pythonic in the next release.


WIP: Generate sa key in the update orchestration

Reintroduced fix from PR https://github.com/kubic-project/salt/pull/304 that was accidentally reverted.

wrong PR


Rust 1.47 - Cannot parse v2 Lockfile Format

So, the latest Rust version got pushed to stable last night, which includes a new lockfile format, and it breaks all our builds. We were able to fix it by replacing stable with 1.46.0, but that's not ideal.
The error we got was:
error: failed to parse lock file at: /build/bitflags-1.2.1/Cargo.lock
It wasn't just bitflags, there were several packages that broke, but that's just an example.

Thanks for reporting this, @cryptoquick! No worries, I can regenerate the lockfile with the latest stable and make it part of the next release.

@psionic-k I think this may increase the urgency of resolving #110. In theory, we could simply regenerate the Cargo.lock under a newer version of cargo and push it to master, but then cargo2nix would not be able to bootstrap itself because it links against an older version of cargo. :disappointed: PR #137 was supposed to resolve this, but it has gone stale due to some strange compilation issues on Darwin.

I might give it another go today, seeing as I finally have time!

You will likely get to the mac issues first.  I need to provision my Apple machine before I can jump in that race.

Sounds good! I've just switched over from my Linux machine to my Mac to give it a try.


Add Xamarin.Forms.GoogleMaps

I hope add to my library named Xamarin.Forms.GoogleMaps what is maps library for Xamarin.Forms.
It has 10,000+ downloads and 100+ stars!

thanks


Touchscreen Validation

Design and carry out tests to validate that the part will be suitable for the application you have planned. (Include photos/screenshots.)

[x] Design tests that validate that the part is suitable
[x] Test that the part is suitable
[x] Show proof that the part is suitable (photos, measurements, etc.)

(2 hours)

Possible Tests to carry out:

[ ] Minimum touch area size to get consistent feedback
[ ] Minimum text size for reading
[ ] Contrast (which colors) are hard/easy to read near each other
[ ] Can you smoothly scroll the screen or need separate pages?
[ ] Power up time/modes

I conducted a test to show validate that we could use the display to show instructions that included both an image and text to explain what to do. This test seems to be a success, as I was able to display both the image and the text at viewable sizes (at least in my opinion).
This test is done by running the demo.py file. A picture named "Resistor.jpg" must also be in the same folder as demo.py to run the test.
The output of the test is shown below:

I conducted a test to validate that we could use the display to show a menu. This test seems to be a success, as I was able to display a menu with two options and switch between the two options. In this case I use keyboard input to switch the option that was highlighted in purple, but this can easily be swapped for other inputs.
The output of the test is shown below:
https://user-images.githubusercontent.com/114356709/222643108-9a0c3387-c953-4ba9-8793-8a55f5ee58af.mp4

I conducted a test to validate that we could use the display to show reading from various sensors. This test seems to be a success, as I was able to display a number that changed every tenth of a second. In this case I used the random library and the time library to generate a new random number every 0.1 seconds, but in the future this can be changed to be a real input from a sensor.
The output of the test is shown below:
https://user-images.githubusercontent.com/114356709/222643547-227344ea-d0ca-4049-801a-037cf7d9d3f0.mp4


CacheBackend 'unavailable: Cache key does not match' on first call

Hey there, thanks for this great package. I just gave this a try and it's really nice 👍.
I noticed that when django server just started, the first request to the health check url fails CacheBackend check with the following error:
 [2018-11-24 04:59:57] ERROR unavailable: Cache key does not match
 Traceback (most recent call last):
   File "/usr/local/lib/python3.4/site-packages/health_check/backends.py", line 30, in run_check
     self.check_status()
   File "/usr/local/lib/python3.4/site-packages/health_check/cache/backends.py", line 14, in check_status
     raise ServiceUnavailable("Cache key does not match")
 health_check.exceptions.ServiceUnavailable: unavailable: Cache key does not match
 [24/Nov/2018 04:59:57] "GET /health/ HTTP/1.1" 500 11588

According to the code, it's just making sure it can store something in the cache and then read it right after:
            cache.set('djangohealtcheck_test', 'itworks', 1)
            if not cache.get("djangohealtcheck_test") == "itworks":
                raise ServiceUnavailable("Cache key does not match")

I did not configure CACHES in django settings yet, using python 3.4.2, django 1.9.5 (and wish to update soon). According to following documentation, default caching backend is local memory caching.
This happened using DEBUG=True, I did not test elsewhere.
I'm writing this here, but the cache isn't critical on our side so I disabled it. Just wondering what's causing this.

Hi @GabLeRoux thanks for reaching out. I don't know if there really is much of a point in having a health check for the locmem cache backend, since it's simply a python object store running in the same process as your Django application. I think a health check only really makes sense if you rely on another service running as your cache backend. Therefore I would recommend to remove the check, if you don't use a proper cache, or better setup a cache.
Regarding the error, are sure that you are not using the dummy cache? This would one would not store anything and make the health check fail.

I noted this mostly for documentation. I’ll have a look, but I’m quite sure I was using the defaults. You’re right for a better setup, I’ll enable this when I’ll use memcached. Thanks :)


Azure Error

Unable to retrieve child resources.
Details:
{
"name": "RestError",
"message": "{"name":"RestError","code":"ECONNRESET","request":{"url":"https://management.azure.com/subscriptions/cbf879fb-2d14-474a-9fd5-cf145bd4759d/resources?api-version=2014-04-01&%24filter=resourceType+eq+'Microsoft.ClassicStorage%2FstorageAccounts'+or+resourceType+eq+'Microsoft.Storage%2FstorageAccounts'&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVJVSkZRakktIiwibmV4dFJvd0tleSI6IjEhMjQwIVEwSkdPRGM1UmtJeVJERTBORGMwUVRsR1JEVkRSakUwTlVKRU5EYzFPVVJmUjFKTUxVRmFPakpFVWtjNk1rUkVRbEk2TWtSTlFVNUJSMFZFT2pKRVJFSlNVRkpQUkZWRFZGTlZVRkJNV1ZBeE1ERTZNa1JFTnpKR1YxZEZOMWRQUWxwSExVMUpRMUpQVTA5R1ZEb3lSVU5QVFZCVlZFVTZNa1pXU1ZKVVZVRk1UVUZEU0VsT1JWTTZNa1pDTkVNeU1qY3dSamhCT1RFMFFqbENRa1pCTVRnelFqSkdNekU0UXpBM05DMUZRVk5VVlZNeSJ9\",\"headers\":{\"authorization\":\"Bearer JSON Web Token Redacted","user-agent":"Microsoft Azure Storage Explorer/1.24.2 (win32)"},"method":"GET","timeout":30000,"disableKeepAlive":false,"withCredentials":false,"requestId":"8616980e-cabb-40a1-a2cd-31a45a8a26cc","allowInsecureConnection":true,"enableBrowserStreams":false}}"
}

Can you try using System Proxy? You can read more about it here: https://learn.microsoft.com/en-us/azure/storage/common/storage-explorer-network#use-system-proxy-preview

Closing due to lack of response. If you are still encountering this issue we recommend opening an Azure support ticket from the portal. Alternatively you can open a new issue here.


CSR param, get custom field attrib by name, readme updates

Add -Csr parameter to New-TppCertificate and Invoke-TppCertificateRenewal.  Closes #76
Update vault usage in readme.  Closes #78
Add Revision to Get-TppVersion.  Closes #80
Add NoWorkToDo parameter to New-TppCertificate to turn off processing for that update
Add Device parameter to New-TppCertificate to allow creation of devices and apps
Fix function alias not working in PS v5 in VenafiSession.  Closes #85

Would like the Device parameter in New-TppCertificate to be reworked

@wilddev65 this has been completed.  can you have a look?

@denvenafi @wilddev65 thanks for all the great feedback!


Overloads download method to specify progress

Overloads download method to specify progress.
Notifying progress is something that might sound informative task, but in production environments might be a key operation, for example in case of a Java FX you might want to print a progress bar in the screen, or in a Kubernetes environment you might want to add a health check (Readiness check) till the download is completed.
Of course, there are multiple ways of doing it, but the library already provides the interface, so the best way is doing using it.
Instead of using the whole download method with all parameters, I have just added a new method that takes the model, where to store it and also let you redefine the progress bar. In this way, it is easier for developer to cover this use case and not having to pass all the arguments.
This is a helping method as developers can still use the full parameters method to do it.

For example:
JavaFxProgressBar p=....

SafeTensorSupport.maybeDownload(dir, model, (s, c, t) ->  {
          p.update(c/t);
}

It is just an example,but this could be how you can update a JafaFx component, instead of using the maybeDownload with all required parameters like Http headers and so on.

Sorry I was referring to the projects Unit Test GitHub Action.  This is now working

Thanks, now I will start working on what we discussed about changing the functional interface into an interface.