w3f / polkadot

GNU General Public License v3.0
31 stars 11 forks source link

Can't File a Motion #3

Open laboon opened 4 years ago

laboon commented 4 years ago

DESCRIPTION

The number of Council members is shown as 10/4. There are 10 Council members displayed, but obviously 4 is not the maximum number.

TO REPRODUCE:

Ensure you are in the k4a branch

Run the following commands

./target/release/polkadot purge-chain --chain=local --dev
./target/release/polkadot --chain=local --dev

Go to https://polkadot.js.org/apps/#/council

(ensure you are connected to 127.0.0.1 if you are not)

Click "Motions"

Click "Propose a Council Motion"

File a "sudo" -> "balances" -> "setBalance" motion

Click Submit

Screen Shot 2019-08-08 at 1 17 58 PM

EXPECTED BEHAVIOR

Motion filed

OBSERVED BEHAVIOR

Nothing happens; JavaScript console shows an error indicating it can't find this API endpoint

Unable to find api.tx.council.propose
    at t.default (https://polkadot.js.org/apps/main.72120f3d.js:27:132843)
    at Object.send [as onClick] (https://polkadot.js.org/apps/main.72120f3d.js:107:71842)
    at t.exports (https://polkadot.js.org/apps/vendor.51dff2ad.js:8:59802)
    at t.exports (https://polkadot.js.org/apps/vendor.51dff2ad.js:8:263761)
    at t.exports (https://polkadot.js.org/apps/vendor.51dff2ad.js:8:59836)
    at https://polkadot.js.org/apps/vendor.51dff2ad.js:8:169854
    at https://polkadot.js.org/apps/react.f25a886f.js:8:167365
    at Object.<anonymous> (https://polkadot.js.org/apps/react.f25a886f.js:24:881)
    at p (https://polkadot.js.org/apps/react.f25a886f.js:24:919)
    at https://polkadot.js.org/apps/react.f25a886f.js:24:1557
laboon commented 4 years ago

It looks like when I am connected to Alexander, many of these get disabled. So I think this is due a change in the 0.5 polkadot API.

Screen Shot 2019-08-08 at 1 22 42 PM