core-lightning/tests/plugins
Christian Decker d2688bbaf5 plugin: Unwrap the rpc_command payload
We were nesting like the following:

```json
{"params": {
  "rpc_command": {
    "rpc_command": {
    }
  }
}
```

This is really excessive, so we unwrap once, and now have the following:

```json
{"params": {
  "rpc_command": {
  }
}
```

Still more wrapping than necessary (the method is repeated in the `params`
object), but it's getting closer.

Changelog-Deprecated: JSON-RPC: Removed double wrapping of `rpc_command` payload in `rpc_command` JSON field.

Suggested-by: @fiatjaf
Signed-off-by: Christian Decker <@cdecker>
2020-03-10 11:42:58 +10:30
..
bitcoin pytest: test Bitcoin plugin registration and the bcli plugin 2020-02-12 11:45:07 +10:30
accepter_close_to.py openchannel hook: add new close_to field 2019-11-22 00:41:15 +00:00
asynctest.py pylightning: Split @method and @async_method decorators 2019-02-22 02:59:36 +00:00
broken.py plugins: refactor the tests for dynamic plugins 2019-09-30 00:20:16 +00:00
custommsg.py pytest: Add a plugin for custommsgs and check that they get the msgs 2020-01-28 23:50:52 +01:00
dblog.py pytest plugins: use the standard 'no operation' syntax for hooks 2020-02-04 01:07:59 +00:00
fail_htlcs.py plugins: support failure_message in invoice and htlc_accepted hooks. 2020-02-25 11:12:12 +10:30
feature-test.py plugin: Allow custom features only if the plugin is not dynamic 2020-02-11 13:53:31 +10:30
forward_payment_status.py pytest: make test_forward_event_notification more explicit. 2019-08-28 04:04:28 +00:00
hold_htlcs.py pytest: add test that htlc_accepted hook only gets called after init. 2019-09-01 16:55:32 +02:00
hold_invoice.py pytest plugins: use the standard 'no operation' syntax for hooks 2020-02-04 01:07:59 +00:00
hook-chain-even.py plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
hook-chain-odd.py plugin: Allow multiple plugins to register the htlc_accepted hook 2020-02-11 15:57:22 +10:30
hook-crash.py pytest: Test a plugin crash while handling a hook call 2020-02-27 09:21:44 +10:30
Makefile pytest: add a C testing plugin to test libplugin 2020-02-10 09:49:15 +10:30
millisatoshis.py pytest: test that we translate to and from Millisatoshi on plugin RPC. 2019-02-25 21:45:21 +00:00
misc_notifications.py Test and document 'channel_opened' notification 2019-07-27 12:18:25 +02:00
pretend_badlog.py pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
print_htlc_onion.py tests: test that we only use tlv onion when advertized. 2019-11-14 10:15:33 +01:00
reject_odd_funding_amounts.py pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
reject_some_invoices.py plugins: support failure_message in invoice and htlc_accepted hooks. 2020-02-25 11:12:12 +10:30
reject.py pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
rpc_command.py plugin: Unwrap the rpc_command payload 2020-03-10 11:42:58 +10:30
sendpay_notifications.py pytest: Reproduce issue #3403, sendpay notifications with no waiter 2020-01-13 23:34:46 +01:00
shortcircuit.py pylightning: Warn users of plugins that may break due to extra args 2019-08-05 00:19:48 +00:00
slow_init.py plugin: Actually wait the 20 seconds promised in the docs 2020-02-27 09:21:44 +10:30
static.py lightningd/plugin_control: don't control non-dynamic plugins 2019-07-28 07:24:04 +00:00
test_libplugin.c pytest: test libplugin's send_outreq 2020-02-10 09:49:15 +10:30
utf8.py pytest: test passing utf8 into and out of plugin JSON. 2019-03-05 11:43:22 +01:00