This commit is contained in:
Jaco Greeff
2020-09-21 09:16:45 +02:00
committed by GitHub
parent 3162f15a1d
commit 172143f2eb
14 changed files with 77 additions and 71 deletions
@@ -9,6 +9,8 @@ import { bnToBn } from '@polkadot/util';
import Bytes from '../primitive/Bytes';
import U32 from '../primitive/U32';
// there are all reversed since it is actually encoded as u32, LE,
// this means that FRNK has the bytes as KNRF
const CID_AURA = 0x61727561; // 'aura'
const CID_BABE = 0x45424142; // 'BABE'
const CID_GRPA = 0x4b4e5246; // 'FRNK' (don't ask, used to be afg1)